Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sancelot authored Jan 16, 2024
1 parent 8945705 commit 0e27be9
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: tst
on: on: workflow_dispatch
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

0 comments on commit 0e27be9

Please sign in to comment.