forked from AztecProtocol/aztec-packages
-
Notifications
You must be signed in to change notification settings - Fork 2
43 lines (38 loc) · 979 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
41
42
43
name: 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 | Clang
shell: bash
run: apt update && apt install -y libclang-dev
- name: Install | CMake
uses: jwlawson/[email protected]
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