Fixed simulation, enchanced CI, polishing #18
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: Synthesis check | |
on: | |
pull_request: | |
branches: [main] | |
types: | |
- opened | |
- synchronize | |
- reopened | |
env: | |
USER: root | |
jobs: | |
linux-testing: | |
name: ${{ matrix.tool }}_${{ matrix.imagever }} | |
runs-on: ['ubuntu-latest'] | |
container: | |
image: ${{ matrix.imagerepo }}:${{ matrix.imagever }} | |
timeout-minutes: 45 | |
strategy: | |
fail-fast: true | |
matrix: | |
include: | |
- tool: quartus | |
imagerepo: ghcr.io/raetro/quartus | |
imagever: 21.1.1 | |
boards: rzrd_pmod_mic3 terasic_sockit | |
labs: 12345 | |
- tool: quartus | |
imagerepo: ghcr.io/raetro/quartus | |
imagever: 17.1 | |
boards: de10_lite de2_115 omdazz | |
labs: 12345 | |
- tool: quartus | |
imagerepo: ghcr.io/raetro/quartus | |
imagever: 13.0sp1 | |
# TODO: omdazz_epm570_quartus_13_1_or_older | |
boards: de0 | |
labs: 12345 | |
steps: | |
- name: Checkout | |
run: | | |
# Avoid https://github.com/actions/checkout/issues/1590 | |
curl -L -o archive.tar.gz https://github.com/${GITHUB_REPOSITORY}/archive/${GITHUB_SHA}.tar.gz | |
tar xvf archive.tar.gz; env; pwd; ls *${GITHUB_SHA} | |
- name: Synthesis | |
shell: bash | |
run: | | |
set -ex; cd *${GITHUB_SHA} | |
echo >scripts/steps/04_configure_fpga.source_bash # disable programmator | |
for b in ${{ matrix.boards }}; do | |
echo "$b" > fpga_board_selection | |
for x in labs/[${{ matrix.labs }}]_*/*_*_*/03_synthesize_for_fpga.bash; do | |
pushd `dirname $x` | |
echo | ./`basename $x` | |
popd | |
done | |
done |