-
Notifications
You must be signed in to change notification settings - Fork 17
36 lines (32 loc) · 877 Bytes
/
main.yml
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
31
32
33
34
35
36
name: setup-ninja
on:
push:
branches:
- master
pull_request:
jobs:
test:
name: test
runs-on: ${{ matrix.image }}
strategy:
matrix:
image: [ 'windows-latest', 'ubuntu-latest', 'ubuntu-24.04-arm', 'macos-latest' ]
version: [ '1.9.0', '1.10.2', '1.11.1', '1.12.1' ]
exclude:
# ARM binaries aren't available until 1.12
- image: 'ubuntu-24.04-arm'
version: '1.11.1'
- image: 'ubuntu-24.04-arm'
version: '1.10.2'
- image: 'ubuntu-24.04-arm'
version: '1.9.0'
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@v4
with:
node-version: 20
- uses: ./
with:
version: '${{ matrix.version }}'
- shell: bash
run: '[ "$(ninja --version)" == "${{ matrix.version }}" ]'