Skip to content

example in readme

example in readme #24

Workflow file for this run

name: build&test
on:
push:
branches: [ "latest" ]
pull_request:
branches: [ "latest" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
strategy:
matrix:
runner: [ubuntu-latest]
# runner: [arc-runner-set]
runs-on: ${{ matrix.runner }}
container:
image: docker.io/rust:latest
steps:
- name: Install | Clang
shell: bash
run: apt update && apt install -y libclang-dev
- name: Install | CMake
uses: jwlawson/actions-setup-cmake@v1.13
with:
cmake-version: '3.24.0'
- name: Install | Nargo
shell: bash
run: |
curl -L https://raw.githubusercontent.com/noir-lang/noirup/main/install | bash
source /github/home/.bashrc
noirup
- uses: actions/checkout@v3
- name: Build
working-directory: noir/tooling/noir_rs
run: cargo build -vv
- name: Run tests
working-directory: noir/tooling/noir_rs
run: cargo test -vv