From 293d365114ce523749538db3bf7fd6a5c4484657 Mon Sep 17 00:00:00 2001 From: Jesse Talavera Date: Wed, 12 Jun 2024 10:34:06 -0400 Subject: [PATCH] Enable the test suite on macOS --- .github/workflows/main.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 163c330d..e2c95083 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -52,8 +52,23 @@ jobs: runs-on: macos-latest target: macos-x86_64 lib-ext: dylib + test-suite: true cmake-args: -DCMAKE_OSX_ARCHITECTURES:STRING="x86_64" -DENABLE_OGLRENDERER=OFF -DCMAKE_APPLE_SILICON_PROCESSOR="x86_64" # Disabled OpenGL on macOS due to https://github.com/JesseTG/melonds-ds/issues/12 + secrets: + TESTFILE_REPO_TOKEN: ${{ secrets.TESTFILE_REPO_TOKEN }} + TESTFILE_REPO: ${{ secrets.TESTFILE_REPO }} + DSI_NAND_ARCHIVE: ${{ secrets.DSI_NAND_ARCHIVE }} + DSI_NAND: ${{ secrets.DSI_NAND }} + ARM7_BIOS: ${{ secrets.ARM7_BIOS }} + ARM9_BIOS: ${{ secrets.ARM9_BIOS }} + ARM7_DSI_BIOS: ${{ secrets.ARM7_DSI_BIOS }} + ARM9_DSI_BIOS: ${{ secrets.ARM9_DSI_BIOS }} + NDS_FIRMWARE: ${{ secrets.NDS_FIRMWARE }} + DSI_FIRMWARE: ${{ secrets.DSI_FIRMWARE }} + NDS_ROM: ${{ secrets.NDS_ROM }} + GBA_ROM: ${{ secrets.GBA_ROM }} + GBA_SRAM: ${{ secrets.GBA_SRAM }} macos-arm64: name: macOS (arm64) @@ -63,8 +78,23 @@ jobs: runs-on: macos-latest target: macos-arm64 lib-ext: dylib + test-suite: true cmake-args: -DCMAKE_OSX_ARCHITECTURES:STRING="arm64" -DENABLE_OGLRENDERER=OFF -DCMAKE_APPLE_SILICON_PROCESSOR="arm64" # Disabled OpenGL on macOS due to https://github.com/JesseTG/melonds-ds/issues/12 + secrets: + TESTFILE_REPO_TOKEN: ${{ secrets.TESTFILE_REPO_TOKEN }} + TESTFILE_REPO: ${{ secrets.TESTFILE_REPO }} + DSI_NAND_ARCHIVE: ${{ secrets.DSI_NAND_ARCHIVE }} + DSI_NAND: ${{ secrets.DSI_NAND }} + ARM7_BIOS: ${{ secrets.ARM7_BIOS }} + ARM9_BIOS: ${{ secrets.ARM9_BIOS }} + ARM7_DSI_BIOS: ${{ secrets.ARM7_DSI_BIOS }} + ARM9_DSI_BIOS: ${{ secrets.ARM9_DSI_BIOS }} + NDS_FIRMWARE: ${{ secrets.NDS_FIRMWARE }} + DSI_FIRMWARE: ${{ secrets.DSI_FIRMWARE }} + NDS_ROM: ${{ secrets.NDS_ROM }} + GBA_ROM: ${{ secrets.GBA_ROM }} + GBA_SRAM: ${{ secrets.GBA_SRAM }} linux-x86_64: name: Linux (x86_64)