forked from accellera-official/systemc
-
Notifications
You must be signed in to change notification settings - Fork 0
27 lines (25 loc) · 754 Bytes
/
Copy pathcoverage.yml
File metadata and controls
27 lines (25 loc) · 754 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: coverage
on:
push:
pull_request:
jobs:
coverage:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
version: [24.04]
platform: [linux/amd64]
target: [coverage]
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Build
run: |
mkdir /tmp/coverage
docker buildx build --platform ${{ matrix.platform }} -t systemc_test --build-arg UBUNTU_VERSION=${{ matrix.version }} -f docker/ubuntu.dockerfile .
docker run --mount type=bind,src=/tmp/coverage,dst=/coverage -e SYSTEMC_CI_TARGET=${{ matrix.target }} systemc_test
- uses: actions/upload-artifact@v7
with:
name: Coverage
path: /tmp/coverage/