From b78b8866772b9fbb6c9ad7c991191f06531b5071 Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Fri, 22 Sep 2023 08:26:17 +1000 Subject: [PATCH] Dreamcast test, probably broken --- .github/workflows/build_dreamcast.yml | 37 +++++++++++++++++++++++++++ .github/workflows/build_xbox.yml | 2 +- 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/build_dreamcast.yml diff --git a/.github/workflows/build_dreamcast.yml b/.github/workflows/build_dreamcast.yml new file mode 100644 index 0000000..88929f8 --- /dev/null +++ b/.github/workflows/build_dreamcast.yml @@ -0,0 +1,37 @@ +name: Build latest (Dreamcast) +on: [push] + +concurrency: + group: ${{ github.ref }}-dreamcast + cancel-in-progress: true + +jobs: + build: + if: github.ref_name == github.event.repository.default_branch + runs-on: ubuntu-latest + container: + image: kazade/dreamcast-sdk + steps: + - uses: actions/checkout@v3 + - name: Compile Dreamcast build + id: compile + run: | + make dreamcast + + - uses: ./.github/actions/notify_failure + if: ${{ always() && steps.compile.outcome == 'failure' }} + with: + NOTIFY_MESSAGE: 'Failed to compile Dreamcast build' + WEBHOOK_URL: '${{ secrets.WEBHOOK_URL }}' + + - uses: ./.github/actions/upload_build + if: ${{ always() && steps.compile.outcome == 'success' }} + with: + SOURCE_FILE: 'ClassiCube-dc.elf' + DEST_NAME: 'ClassiCube-dc.elf' + + - uses: ./.github/actions/upload_build + if: ${{ always() && steps.compile.outcome == 'success' }} + with: + SOURCE_FILE: 'ClassiCube-dc.iso' + DEST_NAME: 'ClassiCube-dc.iso' \ No newline at end of file diff --git a/.github/workflows/build_xbox.yml b/.github/workflows/build_xbox.yml index 8bc70fe..99f27b8 100644 --- a/.github/workflows/build_xbox.yml +++ b/.github/workflows/build_xbox.yml @@ -18,7 +18,7 @@ jobs: run: | eval $(/usr/src/nxdk/bin/activate -s) make xbox - + # otherwise notify_failure doesn't work - name: Install curl when necessary