Skip to content

fix build script

fix build script #102

Workflow file for this run

name: build
on:
push:
branches: [ "main" ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: test-on-${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: ./.github/actions/setup-build
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
os: ${{ matrix.os }}
- run: python3 build.py cs build
- run: python3 build.py cs test
test-unity:
name: test-unity-on-${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: ./.github/actions/setup-build
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
os: ${{ matrix.os }}
- run: python3 build.py unity build