-
Notifications
You must be signed in to change notification settings - Fork 9
48 lines (43 loc) · 965 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
46
47
48
name: Build
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
build:
name: build
runs-on: ubuntu-latest
strategy:
matrix:
template:
[
cpp,
cpp-low-level,
go,
javascript,
lua,
python,
ruby,
rust,
typescript,
]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: current
- name: Install Cartesi CLI
run: npm install -g @cartesi/[email protected]
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Check system requirements
run: cartesi doctor
- name: Build
run: cartesi build
working-directory: ${{ matrix.template }}