diff --git a/.github/workflows/Update extlibs.yml b/.github/workflows/Update extlibs.yml index 02c4508..b195dde 100644 --- a/.github/workflows/Update extlibs.yml +++ b/.github/workflows/Update extlibs.yml @@ -1,54 +1,50 @@ -# This is a basic workflow to help you get started with Actions +name: Extlibs -name: CI - -# Controls when the workflow will run on: - # Triggers the workflow on push or pull request events but only for the main branch push: - branches: [ !main ] + branches: [ '!*' ] pull_request: - branches: [ !main ] + branches: [ '!*' ] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: +# A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: + # This workflow contains a single job called "build" build: + # The type of runner that the job will run on runs-on: ubuntu-latest - container: devkitpro/devkitarm - name: Build with Docker using devkitARM - outputs: - commit_tag: ${{ steps.build.outputs.commit_tag }} - commit_hash: ${{ steps.build.outputs.commit_hash }} - author_name: ${{ steps.build.outputs.author_name }} - committer_name: ${{ steps.build.outputs.committer_name }} - commit_subject: ${{ steps.build.outputs.commit_subject }} - commit_message: ${{ steps.build.outputs.commit_message }} + + # Steps represent a sequence of tasks that will be executed as part of the job steps: - - name: Checkout repo - uses: actions/checkout@v1 - with: - submodules: recursive - - name: Install tools + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v2 + - name: update run: | - sudo apt-get update - sudo apt-get install p7zip-full -y - curl -L https://github.com/Steveice10/bannertool/releases/download/1.2.0/bannertool.zip -o bannertool.zip - sudo 7z e bannertool.zip linux-x86_64/bannertool - sudo chmod +x bannertool - mv bannertool /usr/local/bin - rm bannertool.zip - curl -L https://github.com/3DSGuy/Project_CTR/releases/download/makerom-v0.17/makerom-v0.17-ubuntu_x86_64.zip -o makerom-v0.17-ubuntu_x86_64.zip - sudo 7z e makerom-v0.17-ubuntu_x86_64.zip - sudo chmod +x makerom - mv makerom /usr/local/bin - rm makerom-v0.17-ubuntu_x86_64.zip - - name: Build - id: build - run: | - cd extlibs - git clone https://github.com/devkitpro/citro3d.git + #gl + cd .. + git clone https://github.com/lua/lua.git + cd RenderD7 + mkdir -p extlibs/ + mkdir -p extlibs/lua/ + cp -r ../lua/*.c extlibs/lua/ + cp -r ../lua/*.h extlibs/lua/ + cp -r ../lua/*.md extlibs/lua/ + #RenderD7 + cd .. + git clone https://github.com/NPI-D7/RenderD7.git + cd lp-next-ctr + mkdir -p extlibs/ + rm -r extlibs/RenderD7 + mkdir -p extlibs/RenderD7/ + cp -r ../RenderD7/*.c* extlibs/RenderD7/ + cp -r ../RenderD7/*.h* extlibs/RenderD7/ + cp -r ../RenderD7/*.md extlibs/RenderD7/ + #config + git config --global user.email "tobid7@outlook.de" + git config --global user.name "Tobi-D7" + #commit git stage * - git commit -m "update" + git commit -m "update extlibs" git push origin main