From c4c5d57af3503456da74dc8ba2d4b5d37c1cc037 Mon Sep 17 00:00:00 2001 From: suchmememanyskill <38142618+suchmememanyskill@users.noreply.github.com> Date: Mon, 4 May 2020 21:24:49 +0200 Subject: [PATCH 1/4] Test github actions --- .github/workflows/builder.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/builder.yml diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml new file mode 100644 index 0000000..c1302eb --- /dev/null +++ b/.github/workflows/builder.yml @@ -0,0 +1,34 @@ +name: TegraExplorer builder + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - name: Install devkitpro + run: | + wget https://github.com/devkitPro/pacman/releases/download/devkitpro-pacman-1.0.1/devkitpro-pacman.deb + sudo dpkg -i devkitpro-pacman.deb + sudo dkp-pacman -S $(dkp-pacman -Ssq switch-*) --noconfirm + + - name: Build TegraExplorer + run: | + echo # SETTING PATH # + export DEVKITPRO=/opt/devkitpro + export DEVKITARM=${DEVKITPRO}/devkitARM + export DEVKITPPC=${DEVKITPRO}/devkitPPC + export PATH=${DEVKITPRO}/tools/bin:$PATH + echo # MAKE # + make -j$(nproc) + + - uses: actions/upload-artifact@master + with: + name: TegraExplorer + path: output/TegraExplorer.bin From 30f0e88d0a64cf4540131879a235e973bbeb958d Mon Sep 17 00:00:00 2001 From: suchmememanyskill <38142618+suchmememanyskill@users.noreply.github.com> Date: Mon, 4 May 2020 21:32:05 +0200 Subject: [PATCH 2/4] Attempt no.2 --- .github/workflows/builder.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml index c1302eb..09f3ed6 100644 --- a/.github/workflows/builder.yml +++ b/.github/workflows/builder.yml @@ -12,6 +12,7 @@ jobs: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v2 - name: Install devkitpro run: | wget https://github.com/devkitPro/pacman/releases/download/devkitpro-pacman-1.0.1/devkitpro-pacman.deb From f09a098c77a08e9892c8df071726b9245ea56d3c Mon Sep 17 00:00:00 2001 From: suchmememanyskill <38142618+suchmememanyskill@users.noreply.github.com> Date: Mon, 4 May 2020 21:35:29 +0200 Subject: [PATCH 3/4] Try no.3 --- .github/workflows/builder.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml index 09f3ed6..ed3c222 100644 --- a/.github/workflows/builder.yml +++ b/.github/workflows/builder.yml @@ -32,4 +32,4 @@ jobs: - uses: actions/upload-artifact@master with: name: TegraExplorer - path: output/TegraExplorer.bin + path: output/TegraExplorer.bin From 40cb293db395e2e9f9ed6367f69175bf78bc81d8 Mon Sep 17 00:00:00 2001 From: suchmememanyskill <38142618+suchmememanyskill@users.noreply.github.com> Date: Mon, 4 May 2020 21:54:39 +0200 Subject: [PATCH 4/4] Try no.4 --- .github/workflows/builder.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml index ed3c222..0b876bc 100644 --- a/.github/workflows/builder.yml +++ b/.github/workflows/builder.yml @@ -17,7 +17,8 @@ jobs: run: | wget https://github.com/devkitPro/pacman/releases/download/devkitpro-pacman-1.0.1/devkitpro-pacman.deb sudo dpkg -i devkitpro-pacman.deb - sudo dkp-pacman -S $(dkp-pacman -Ssq switch-*) --noconfirm + sudo dkp-pacman -S switch-dev --noconfirm + sudo dkp-pacman -S devkitARM --noconfirm - name: Build TegraExplorer run: |