Skip to content

Re-export ic_bn_lib #450

Re-export ic_bn_lib

Re-export ic_bn_lib #450

Workflow file for this run

name: Test
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: never
defaults:
run:
shell: bash
jobs:
test:
permissions:
contents: write
runs-on:
- namespace-profile-ubuntu-24-04-big
- namespace-experiments:container.mount-scratch
steps:
- uses: actions/checkout@v4
- run: cp -a ${GITHUB_WORKSPACE} /namespace/scratch
- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6
- name: Install deps
run: sudo apt-get update && sudo apt-get -y install protobuf-compiler podman
- name: Install repro-env
run: |
wget 'https://github.com/kpcyrd/repro-env/releases/download/v0.4.3/repro-env'
echo '2a00b21ac5e990e0c6a0ccbf3b91e34a073660d1f4553b5f3cda2b09cc4d4d8a repro-env' | sha256sum -c -
sudo install -m755 repro-env -t /usr/bin
- name: Run all unit and integration tests
run: |
cd /namespace/scratch/ic-gateway && ./run-tests.sh
- name: Build ic-gateway
run: cd /namespace/scratch/ic-gateway && repro-env build -- cargo build --release --target x86_64-unknown-linux-musl