Skip to content

Commit

Permalink
add GitHub Actions worklfow 'Pipeline'
Browse files Browse the repository at this point in the history
  • Loading branch information
umarcor committed Jul 20, 2023
1 parent 8922b45 commit 37b52de
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/Pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Pipeline

on:
push:
pull_request:
workflow_dispatch:

jobs:

GHDL:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
suite:
- std_logic_1164
- numeric_std
- numeric_bit
steps:

- uses: actions/checkout@v3

- run: |
cat > 'ghdl_${{ matrix.suite }}.sh' <<'EOF'
#!/usr/bin/env sh
cd $(dirname "$0")/std_pkgs_08/simulation
./grun ${{ matrix.suite }}
EOF
chmod +x 'ghdl_${{ matrix.suite }}.sh'
- uses: docker://gcr.io/hdl-containers/sim
with:
args: ./ghdl_${{ matrix.suite }}.sh

0 comments on commit 37b52de

Please sign in to comment.