CI: use HEAD Amaranth for smoke testing.

This commit is contained in:
Catherine 2024-02-28 13:56:44 +00:00
parent 544258354b
commit 3a1f0a7c32

View file

@ -68,16 +68,27 @@ jobs:
- amaranth-lang/amaranth-soc
name: 'smoke (${{ matrix.project }})'
steps:
- name: Check out Amaranth source code
uses: actions/checkout@v4
with:
path: amaranth
fetch-depth: 0
- name: Check out source code
uses: actions/checkout@v4
with:
repository: ${{ matrix.project }}
path: project
fetch-depth: 0
- name: Set up PDM
uses: pdm-project/setup-pdm@v4
- name: Install dependencies
working-directory: project
run: |
pdm install --dev
- name: Use Amaranth HEAD revision
working-directory: project
run: |
pdm add ../amaranth
- name: Cache YoWASP build products
uses: actions/cache@v4
with:
@ -86,6 +97,7 @@ jobs:
restore-keys: |
YoWASP-${{ runner.os }}-
- name: Run tests
working-directory: project
run: |
pdm run test