Skip to content

Commit

Permalink
Try to build and run tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasnoble committed Mar 11, 2022
1 parent 92c101d commit 579262e
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions .github/workflows/macos-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,20 @@ jobs:
run: sudo apt-get update
- name: Install dependencies
run: sudo apt-get install -y g++-mipsel-linux-gnu
- name: Build OpenBIOS
run: make -C src/mips/openbios -j2
- name: Upload results for MacOS build job
- name: Build tests & OpenBIOS
run: |
make -C src/mips/tests -j 2 PCSX_TESTS=true
make -C src/mips/openbios -j 2 clean all
- name: Upload OpenBIOS for MacOS build job
uses: actions/upload-artifact@v2
with:
name: OpenBIOS
path: src/mips/openbios/openbios.bin
- name: Upload tests for MacOS build job
uses: actions/upload-artifact@v2
with:
name: Tests
path: src/mips/tests/**/*.ps-exe

macos-build-and-test:
runs-on: macOS-latest
Expand All @@ -42,12 +49,20 @@ jobs:
run: git submodule update --init --recursive
- name: Build pcsx-redux
run: make -j2
- name: Build pcsx-redux
- name: Build pcsx-redux-tests
run: make -j2 pcsx-redux-tests
- name: Download OpenBIOS build
uses: actions/download-artifact@v2
with:
name: OpenBIOS
- name: Download tests
uses: actions/download-artifact@v2
with:
name: Tests
- name: Install xquartz for xvfb
run: brew install xquartz
- name: Run tests
run: /opt/X11/bin/Xvfb :4000 -nolisten unix && DISPLAY=4000 ./pcsx-redux-tests
- name: Bundle
run: ./.github/scripts/create-app.sh
- name: Create BUILD environment
Expand Down

0 comments on commit 579262e

Please sign in to comment.