ci: Moves runner to ubuntu 20.04 #21
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: simulate | |
on: push | |
jobs: | |
orbit-docker: | |
runs-on: ubuntu-latest | |
container: | |
image: crus800/orbit-simulation | |
steps: | |
- name: Fetch repository | |
uses: actions/checkout@v3 | |
- name: Log all tool versions | |
run: | | |
orbit --version | |
python --version | |
ghdl --version | |
- name: Configure orbit profile | |
run: | | |
git clone https://github.com/c-rus/orbit-profile.git "$(orbit env ORBIT_HOME)/profiles/c-rus" | |
orbit config --append include="profiles/c-rus/config.toml" | |
- name: Link python package Verity | |
run: | | |
pip install -e "$(orbit env ORBIT_HOME)/profiles/c-rus/verity" | |
- name: Simulate parity entity | |
run: | | |
orbit plan --clean --plugin ghdl --top parity | |
cat ./build/blueprint.tsv | |
# orbit b -- -g SIZE=9 | |
# orbit b -- -g SIZE=4 -g EVEN_PARITY=false | |
- name: Simulate decoder entity | |
run: | | |
orbit plan --clean --plugin ghdl --top decoder | |
cat ./build/blueprint.tsv | |
# orbit b | |
# orbit b -- -g SIZE=4 | |
- name: Simulate hamm_enc entity | |
run: | | |
orbit plan --clean --plugin ghdl --top hamm_enc | |
cat ./build/blueprint.tsv | |
# orbit b | |
# orbit b -- -g PARITY_BITS=4 | |
- name: Simulate hamm_dec entity | |
run: | | |
orbit plan --clean --plugin ghdl --top hamm_dec | |
cat ./build/blueprint.tsv | |
# orbit b | |
# orbit b -- -g PARITY_BITS=6 | |
# orbit b -- -g PARITY_BITS=2 |