Fixed the sound format of I2S and PT8211 DAC #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: Synthesis check | |
on: | |
pull_request: | |
branches: [main] | |
types: | |
- opened | |
- synchronize | |
- reopened | |
env: | |
USER: root | |
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true | |
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: 43 | |
labs: 12345 | |
- tool: quartus | |
imagerepo: ghcr.io/raetro/quartus | |
imagever: 13.0sp1 | |
boards: 10 36 | |
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 -e "$b\ny\n" | ./check_setup_and_choose_fpga_board.bash | |
for x in labs/[${{ matrix.labs }}]_*/*_*_*/03_synthesize_for_fpga.bash; do | |
pushd `dirname $x` | |
echo | ./`basename $x` | |
popd | |
done | |
done |