emulator-tools 0.16.1 #80
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |