Skip to content

chore: update runner tags for clone-to-assurance workflow #921

chore: update runner tags for clone-to-assurance workflow

chore: update runner tags for clone-to-assurance workflow #921

Workflow file for this run

name: ci-wrapper-c
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
build_test:
name: Build & Test C Wrapper
runs-on: macos-latest
defaults:
run:
working-directory: ./wrappers/c
steps:
- name: Checkout
uses: actions/checkout@83b7061638ee4956cf7545a6f7efe594e5ad0247 # [email protected]
# Needed to resolve any private git based dependencies like https://github.com/mattrglobal/blstrs
- name: Setup SSH Agent
uses: webfactory/ssh-agent@836c84ec59a0e7bc0eabc79988384eb567561ee2 # [email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Setup rust toolchain
uses: actions-rs/toolchain@b2417cde72dcf67f306c0ae8e0828a81bf0b189f # [email protected]
with:
toolchain: nightly # Note this has to be nightly because the header generation step does not work on stable
override: true
- name: Generate headers
run: make generate_headers
shell: bash
- name: Build
run: make build
shell: bash
- name: Test
run: make test
shell: bash
- name: Run leaks
run: make check_leaks_macos
shell: bash