Branched WIP that needs to be merged with the new changes from develop. #2664
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: macOS | |
| on: [push, pull_request] | |
| jobs: | |
| MacOS: | |
| runs-on: macos-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| with: | |
| ref: ${{ github.ref }} | |
| fetch-depth: 2 | |
| - name: Checkout submodules | |
| run: | | |
| git submodule update --init --recursive | |
| - name: Install dependencies | |
| run: | | |
| brew install wget SDL2 premake | |
| - name: Build | |
| run: | | |
| premake5 --disable-static-build gmake | |
| make -C make/macosx/ -j$(sysctl -n hw.ncpu) -e config=release_arm64 | |
| - name: Unit Tests | |
| run: | | |
| cd bin/unit_tests | |
| ./eepp-unit_tests | |
| - name: Upload artifacts | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: macos-test-output | |
| path: bin/unit_tests/output/* |