-
Notifications
You must be signed in to change notification settings - Fork 2
37 lines (34 loc) · 913 Bytes
/
ci.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
name: CI
on:
push:
branches:
- main
paths-ignore:
- '*.md'
pull_request:
paths-ignore:
- '*.md'
jobs:
test_new_project_build:
# Create a new project from the template and build it
name: Test new project build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
- name: Install Miden cargo extension
uses: actions-rs/cargo@v1
with:
command: install
args: --git https://github.com/0xPolygonMiden/compiler --branch main cargo-miden
- name: Run `cargo miden new` command
uses: actions-rs/cargo@v1
with:
command: miden
args: new my_account_proj --template-path .
- name: Run `cargo miden build` command
uses: actions-rs/cargo@v1
with:
command: miden
args: build manifest-path my_account_proj --release