Skip to content

Add Dusk contract build #6

Add Dusk contract build

Add Dusk contract build #6

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 Compilers
runs-on: ubuntu-latest
steps:
- name: Check out repository
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
- name: Upload build
uses: actions/upload-artifact@v3
with:
name: linux-build-${{github.ref}}
path: build/
build_mac:
name: Build MacOS Compilers
runs-on: macos-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Install dependencies
run: brew install ninja
- name: Run build
run: ./x build --config=config/macos.toml
- name: Upload build
uses: actions/upload-artifact@v3
with:
name: macos-build-${{github.ref}}
path: build/