forked from AztecProtocol/aztec-packages
-
Notifications
You must be signed in to change notification settings - Fork 2
40 lines (35 loc) · 942 Bytes
/
build&test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Rust build&test
on:
push:
branches: [ "workflow" ]
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
run: sudo apt update && sudo apt upgrade -y && sudo apt install -y git build-essential curl pkg-config libssl-dev libclang-dev
- name: Setup | Rust
uses: ATiltedTree/setup-rust@v1
with:
rust-version: stable
- name: Setup | CMake
uses: jwlawson/[email protected]
with:
cmake-version: '3.24.0'
- 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