Skip to content
This repository was archived by the owner on Aug 17, 2026. It is now read-only.

refactor(compiler.rs): use hashmap for ABI storage #640

refactor(compiler.rs): use hashmap for ABI storage

refactor(compiler.rs): use hashmap for ABI storage #640

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
targets: wasm32-unknown-unknown
- uses: Swatinem/rust-cache@v2
- uses: taiki-e/install-action@nextest
- uses: foundry-rs/foundry-toolchain@v1
- name: Build Examples
run: cargo build --examples --target wasm32-unknown-unknown --release
- name: Build and Install zint-cli
run: |
cargo build --release -p zint-cli
cargo install --path zint/cli
- name: Run Tests
run: cargo nextest run --workspace --no-fail-fast --release
- name: Run Example Tests
run: cargo nextest run --workspace --no-fail-fast --release --examples
- name: Test Elko Addition Example
run: |
cargo run -p elko -- new addition
cd addition
cargo run -p elko --manifest-path ../Cargo.toml -- build
cargo test
- name: Test Foundry Integration
run: |
cd zint/storage
forge build
cargo zint new
cargo zint run
check:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Format
run: cargo fmt --check
- name: Clippy
run: cargo clippy --all -- -D warnings