From d35e93901cccdf8162f5b72aea87f58b9c46b322 Mon Sep 17 00:00:00 2001 From: M4x1m3 Date: Sat, 6 Feb 2021 15:11:54 +0100 Subject: [PATCH] [ci] Reintroduced 3DS with toggle switch --- .github/workflows/ci-workflow.yml | 39 +++++++++++++++++-------------- 1 file changed, 22 insertions(+), 17 deletions(-) diff --git a/.github/workflows/ci-workflow.yml b/.github/workflows/ci-workflow.yml index a507a454b..d226d7ad4 100644 --- a/.github/workflows/ci-workflow.yml +++ b/.github/workflows/ci-workflow.yml @@ -12,26 +12,31 @@ on: description: 'Run macOS tests' required: true default: 'no' + trigger3DS: + description: 'Run 3DS tests' + required: true + default: 'no' jobs: - # nintendo_3ds: - # runs-on: ubuntu-latest - # steps: - # - run: wget https://github.com/devkitPro/pacman/releases/download/v1.0.2/devkitpro-pacman.amd64.deb -O /tmp/devkitpro-pacman.deb - # - run: yes | sudo dpkg -i /tmp/devkitpro-pacman.deb - # - run: yes | sudo dkp-pacman -Syu --needed devkitARM 3dstools libctru - # - run: echo ::set-env name=DEVKITPRO::/opt/devkitpro - # - run: echo ::set-env name=DEVKITARM::/opt/devkitpro/devkitARM - # - run: echo ::set-env name=PATH::$DEVKITPRO/tools/bin:$DEVKITARM/bin:$PATH + nintendo_3ds: + if: github.event.inputs.triggerMacos == 'yes' + runs-on: ubuntu-latest + steps: + - run: wget https://github.com/devkitPro/pacman/releases/download/v1.0.2/devkitpro-pacman.amd64.deb -O /tmp/devkitpro-pacman.deb + - run: yes | sudo dpkg -i /tmp/devkitpro-pacman.deb + - run: yes | sudo dkp-pacman -Syu --needed devkitARM 3dstools libctru + - run: echo ::set-env name=DEVKITPRO::/opt/devkitpro + - run: echo ::set-env name=DEVKITARM::/opt/devkitpro/devkitARM + - run: echo ::set-env name=PATH::$DEVKITPRO/tools/bin:$DEVKITARM/bin:$PATH - # - uses: actions/checkout@v1 - # with: - # submodules: true - # - run: make -j2 PLATFORM=simulator TARGET=3ds - # - uses: actions/upload-artifact@master - # with: - # name: epsilon-3ds.3dsx - # path: output/release/simulator/3ds/epsilon.3dsx + - uses: actions/checkout@v1 + with: + submodules: true + - run: make -j2 PLATFORM=simulator TARGET=3ds + - uses: actions/upload-artifact@master + with: + name: epsilon-3ds.3dsx + path: output/release/simulator/3ds/epsilon.3dsx android: runs-on: ubuntu-latest steps: