Skip to content

Commit

Permalink
Fixing job titles, tidying up run commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Shihab Suliman committed May 13, 2024
1 parent a4d7884 commit a993adb
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/_test_hdl.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
on:
workflow_call:
inputs:
matrix:
required: true
type: string

jobs:
test:
strategy:
fail-fast: false
# Using generated matrix from previous job
matrix: ${{fromJSON(inputs.matrix)}}
runs-on:
group: iris_runners
container:
image: ghcr.io/pandablocks/pandablocks-dev-container:3.1a3
options: --privileged

steps:
# Necessary to find action.yml
- name: Checkout Source
uses: actions/checkout@v4
with:
path: repos/PandABlocks-fpga
fetch-depth: 0

- name: Checkout rootfs and Give Directory Perms
uses: ./repos/PandABlocks-fpga/.github/actions/setupenv

# Run tests
- name: Make hdl Tests
run: |
cd repos/PandABlocks-fpga
ln -s CONFIG.example CONFIG
make hdl_test MODULES="${{matrix.modules}}"

0 comments on commit a993adb

Please sign in to comment.