mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-06-04 20:46:29 +03:00
27 lines
693 B
YAML
27 lines
693 B
YAML
name: macOS
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
MacOS:
|
|
runs-on: macos-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 2
|
|
ref: develop
|
|
- name: Checkout submodules
|
|
run: |
|
|
git submodule update --init --recursive
|
|
- name: Install dependencies
|
|
run: |
|
|
brew install wget
|
|
brew install SDL2
|
|
wget https://github.com/premake/premake-core/releases/download/v5.0.0-alpha14/premake-5.0.0-alpha14-macosx.tar.gz
|
|
tar -xzf premake-5.0.0-alpha14-macosx.tar.gz
|
|
- name: Build
|
|
run: |
|
|
./premake5 --with-mojoAL gmake2
|
|
make -C make/macosx/ -j`nproc` all
|