-
Notifications
You must be signed in to change notification settings - Fork 559
38 lines (38 loc) · 1010 Bytes
/
continuous.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
37
38
name: continuous
on: pull_request
jobs:
build:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '^3.5'
- uses: mymindstorm/setup-emsdk@v8
with:
version: 'latest'
- run: emcc -v
- run: python -V
- run: cmake --version
- run: ${{ matrix.make || 'make' }} --version
- run: cmake -B builds -DCLOSURE=1 ${{ matrix.cmake-args }}
- run: cmake --build builds -- VERBOSE=1
- run: npm ci
- name: Test Ammo Javascript
run: npx ava
env:
AMMO_BUILD: builds/ammo.js
- name: Test Ammo WebAssembly
run: npx ava
env:
AMMO_BUILD: builds/ammo.wasm.js
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
include:
- os: windows-latest
cmake-args: -G 'MinGW Makefiles'
make: mingw32-make