Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
1dac466
wip: unify compilation, rodata init, test harness
bitwalker Jul 26, 2024
093d75f
wip: derive source spans from dwarf debug info in wasm frontend
bitwalker Jul 26, 2024
20b6022
feat(codegen): propagate source spans from hir to masm
bitwalker Jul 30, 2024
401845e
wip: refactor compiler test instantiation/configuration
bitwalker Jul 30, 2024
a7c4390
chore: bump rust toolchain
bitwalker Aug 2, 2024
126e7c5
refactor: unify diagnostics infa between compiler, assembler, vm
bitwalker Aug 2, 2024
e573066
wip: update to latest miden vm patchset
bitwalker Aug 4, 2024
5ec7db7
wip: support compiled libraries, linker flags
bitwalker Aug 5, 2024
453467c
fix: clap error formatting, unused deps
bitwalker Aug 5, 2024
34ed979
fix(cli): improve help output, hide plumbing flags
bitwalker Aug 5, 2024
c3af0cc
chore: move miden-vm deps to latest commit included in 0.10 releasef
bitwalker Aug 6, 2024
9d5a839
refactor: unify branch successor repr, support switch arms with argum…
bitwalker Aug 6, 2024
1b17a2f
test: use nextest test runner
bitwalker Aug 6, 2024
833a7e9
fix: bug in program.has_entrypoint
bitwalker Aug 6, 2024
768da77
fix: handle behavior change between codemap and sourcemanager
bitwalker Aug 6, 2024
2a61993
test: temporarily disable i128 tests until emulator supports mast
bitwalker Aug 6, 2024
651edfe
test: disable tx_kernel and stdlib tests until rodata issues fixed
bitwalker Aug 6, 2024
e3538fc
feat: improve inference of project type based on driver flags
bitwalker Aug 6, 2024
fd91a8a
fix: various tests, cli bugs, vm test executor, test builder api
bitwalker Aug 6, 2024
e319222
fix: linking of standard library in tests
bitwalker Aug 6, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
194 changes: 97 additions & 97 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,128 +3,128 @@ name: CI
on:
push:
branches:
- main
- main
paths-ignore:
- '*.md'
- "*.md"
pull_request:
paths-ignore:
- '*.md'
- "*.md"

env:
CARGO_MAKE_TOOLCHAIN: nightly-2024-03-10
CARGO_MAKE_TOOLCHAIN: nightly-2024-05-07

jobs:
compiler:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ env.CARGO_MAKE_TOOLCHAIN }}
override: true
- name: Cache Cargo
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
key: ${{ github.workflow }}-${{ github.job }}-toolchain-${{ env.CARGO_MAKE_TOOLCHAIN }}
- name: Install cargo-make
uses: actions-rs/cargo@v1
with:
command: install
args: cargo-make
- name: Build
uses: actions-rs/cargo@v1
with:
command: make
args: build
- name: Test
uses: actions-rs/cargo@v1
with:
command: make
args: test
- uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ env.CARGO_MAKE_TOOLCHAIN }}
override: true
- name: Cache Cargo
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
key: ${{ github.workflow }}-${{ github.job }}-toolchain-${{ env.CARGO_MAKE_TOOLCHAIN }}
- name: Install cargo-make
uses: actions-rs/cargo@v1
with:
command: install
args: cargo-make
- name: Build
uses: actions-rs/cargo@v1
with:
command: make
args: build
- name: Test
uses: actions-rs/cargo@v1
with:
command: make
args: test

cargo_miden_test_clean_env:
# Run cargo-miden test in the clean env to simulate user's first run.
# To test the installation of the required dependencies (e.g. rust-src, wasm target, etc.)
name: cargo-miden tests
name: cargo-miden tests
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ env.CARGO_MAKE_TOOLCHAIN }}
override: true
- name: Cache Cargo
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
key: ${{ github.workflow }}-${{ github.job }}-toolchain-${{ env.CARGO_MAKE_TOOLCHAIN }}
- name: Test
uses: actions-rs/cargo@v1
with:
command: test
args: -p cargo-miden --test integration
- uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ env.CARGO_MAKE_TOOLCHAIN }}
override: true
- name: Cache Cargo
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
key: ${{ github.workflow }}-${{ github.job }}-toolchain-${{ env.CARGO_MAKE_TOOLCHAIN }}
- name: Test
uses: actions-rs/cargo@v1
with:
command: test
args: -p cargo-miden --test integration

clippy:
name: clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ env.CARGO_MAKE_TOOLCHAIN }}
override: true
- name: Cache Cargo
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
key: ${{ github.workflow }}-${{ github.job }}-toolchain-${{ env.CARGO_MAKE_TOOLCHAIN }}
- name: Install cargo-make
uses: actions-rs/cargo@v1
with:
command: install
args: cargo-make
- name: Test
uses: actions-rs/cargo@v1
with:
command: make
args: clippy
- uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ env.CARGO_MAKE_TOOLCHAIN }}
override: true
- name: Cache Cargo
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
key: ${{ github.workflow }}-${{ github.job }}-toolchain-${{ env.CARGO_MAKE_TOOLCHAIN }}
- name: Install cargo-make
uses: actions-rs/cargo@v1
with:
command: install
args: cargo-make
- name: Test
uses: actions-rs/cargo@v1
with:
command: make
args: clippy

rustfmt:
name: rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ env.CARGO_MAKE_TOOLCHAIN }}
override: true
- name: Cache Cargo
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
key: ${{ github.workflow }}-${{ github.job }}-toolchain-${{ env.CARGO_MAKE_TOOLCHAIN }}
- name: Install cargo-make
uses: actions-rs/cargo@v1
with:
command: install
args: cargo-make
- name: rustfmt
uses: actions-rs/cargo@v1
with:
command: make
args: check-format
- uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ env.CARGO_MAKE_TOOLCHAIN }}
override: true
- name: Cache Cargo
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
key: ${{ github.workflow }}-${{ github.job }}-toolchain-${{ env.CARGO_MAKE_TOOLCHAIN }}
- name: Install cargo-make
uses: actions-rs/cargo@v1
with:
command: install
args: cargo-make
- name: rustfmt
uses: actions-rs/cargo@v1
with:
command: make
args: check-format
Loading