Files
eepp/.github/workflows/eepp-macos-build-check.yml
Martín Lucas Golini eec7eeb284 Fix a possible dead-lock during closing.
Update to actions/checkout@v6.
2026-04-21 00:20:39 -03:00

34 lines
809 B
YAML

name: macOS
on: [push, pull_request]
jobs:
MacOS:
runs-on: macos-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
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/*