mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-28 17:16:29 +03:00
34 lines
809 B
YAML
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/*
|