Skip to content

Add Dusk contract build #5

Add Dusk contract build

Add Dusk contract build #5

Workflow file for this run

# 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: sudo apt update && sudo apt install -y 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