Add Dusk contract build #4
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
# Instructions for GitHub to build Dusk's smart contract compilers. | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
name: Dusk Contract Compilers | |
jobs: | |
build_linux: | |
name: Build Linux | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: apt update && apt install ninja-build | |
- name: Run build | |
run: ./x build --config=config/linux.toml | |
build_mac: | |
name: Build Mac | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: brew install ninja | |
- name: Run build | |
run: ./x build --config=config/mac.toml |