fixed defaultplatform not being selected when set #74
Workflow file for this run
This file contains 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: | |
workflow_dispatch: | |
push: | |
paths: | |
- '.github/workflows/macos.yml' | |
- 'tests/**' | |
- '**/*.lua' | |
pull_request: | |
paths: | |
- '.github/workflows/macos.yml' | |
- 'tests/**' | |
- '**/*.lua' | |
jobs: | |
macos: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: checkout premake5 | |
uses: actions/checkout@v3 | |
with: | |
repository: premake/premake-core | |
path: .bins/premake-build | |
- name: Build premake5 | |
run: | | |
cd .bins/premake-build | |
make -f Bootstrap.mak osx CONFIG=release | |
cp bin/release/premake5 ../ | |
cd .. | |
rm -Rf premake-build | |
- name: install ninja | |
uses: seanmiddleditch/gha-setup-ninja@v3 | |
- name: Versions | |
run: | | |
python --version | |
.bins/premake5 --version | |
ninja --version | |
- name: test projects | |
run: cd tests && PATH=$PATH:`pwd`/../.bins python run_tests.py | |