blob: 12e614e5b5f6af7f7f21e8a14df871f430b74917 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
name: test
on: [ push, pull_request ]
jobs:
test:
strategy:
fail-fast: false
matrix:
include:
- { os: ubuntu-20.04, target: linux, platform: linux-x64 }
- { os: macos-14, target: darwin, platform: darwin-arm64 }
- { os: windows-latest, target: windows, platform: win32-x64 }
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Build for Windows
if: ${{ matrix.target == 'windows' }}
run: .\make.bat
- name: Build for Linux
if: ${{ matrix.target == 'linux' }}
run: |
sudo apt update
sudo apt install ninja-build
./make.sh
- name: Build for macOS
if: ${{ matrix.target == 'darwin' }}
run: |
brew install ninja
./make.sh
|