update lib #243
Workflow file for this run
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: CI | |
# Set default shell as interactive (source ~/.bashrc) | |
defaults: | |
run: | |
shell: bash -ieo pipefail {0} | |
on: | |
push: | |
branches: | |
- master | |
- python-setup | |
# Don't forget to require approval for all outside collaborators | |
pull_request: | |
branches: '*' | |
# Allow manual workflow runs | |
workflow_dispatch: | |
# Run only one instance of this workflow at a time | |
# cancel-in-progress: stop running workflow and run latest instead | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
iob: | |
runs-on: self-hosted | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: setup iob | |
run: nix-shell --run "make clean && make setup CACHE_CONFIG=iob" | |
- name: sim-test iob | |
run: nix-shell --run "make -C ../iob_cache_* sim-test" | |
- name: sim-clean | |
run: nix-shell --run "make -C ../iob_cache_* sim-clean" | |
- name: test-fpga | |
run: nix-shell --run "make -C ../iob_cache_* fpga-test" | |
- name: fpga-clean | |
run: nix-shell --run "make -C ../iob_cache_* fpga-clean" | |
- name: test-doc | |
run: nix-shell --run "make -C ../iob_cache_* doc-test" | |
- name: doc-clean | |
run: nix-shell --run "make -C ../iob_cache_* doc-clean" | |
axi: | |
runs-on: self-hosted | |
timeout-minutes: 10 | |
# always run, except when previous job was cancelled | |
if: ${{ !cancelled() }} | |
# run after indicated job | |
needs: iob | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: setup axi | |
run: nix-shell --run "make clean && make setup CACHE_CONFIG=axi" | |
- name: sim-test iob | |
run: nix-shell --run "make -C ../iob_cache_* sim-test" | |
- name: sim-clean | |
run: nix-shell --run "make -C ../iob_cache_* sim-clean" | |
- name: test-fpga | |
run: nix-shell --run "make -C ../iob_cache_* fpga-test" | |
- name: fpga-clean | |
run: nix-shell --run "make -C ../iob_cache_* fpga-clean" | |
- name: test-doc | |
run: nix-shell --run "make -C ../iob_cache_* doc-test" | |
- name: doc-clean | |
run: nix-shell --run "make -C ../iob_cache_* doc-clean" |