feat: support gate and measurement noise in multishot #20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test libquil-sys | |
on: | |
pull_request: | |
push: | |
branches: | |
- 'main' | |
jobs: | |
test-linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Install libquil dependencies | |
run: sudo apt install -y libffi\* libblas\* liblapack\* | |
- name: Install libquil | |
run: | | |
curl https://raw.githubusercontent.com/rigetti/libquil/main/install.sh | bash -s 0.2.0 | |
- name: Run tests | |
run: | | |
cd $GITHUB_WORKSPACE/lib | |
cargo test | |
test-macos: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Install libquil dependencies | |
run: brew install lapack openblas | |
- name: Install libquil | |
run: 'curl https://raw.githubusercontent.com/rigetti/libquil/main/install.sh | bash -s 0.2.0' | |
- name: Run tests | |
run: | | |
cd $GITHUB_WORKSPACE/lib | |
cargo test | |