-
Notifications
You must be signed in to change notification settings - Fork 9
45 lines (36 loc) · 984 Bytes
/
build.yaml
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
39
40
41
42
43
44
45
name: make build
on: [push, pull_request]
jobs:
cpp:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: make
- run: ./build/bin/twsearch -g samples/main/2x2x2.tws
- run: make test-cpp-cli
cpp-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- run: make
- uses: actions/upload-artifact@v3
with:
name: windows-build
path: build/bin/
wasm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: make emsdk
- run: make build/wasm-test/twsearch-test.wasm
- run: make build/wasm-single-file/twsearch.mjs
- run: curl https://get.wasmer.io -sSfL | sh
- run: source ~/.wasmer/wasmer.sh && make test-wasm
- run: make test-build-js
rust:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: make build-rust
- run: make lint-rust
- run: make test-rust-cli