forked from accellera-official/systemc
-
Notifications
You must be signed in to change notification settings - Fork 0
84 lines (82 loc) · 2.75 KB
/
Copy pathtsan.yml
File metadata and controls
84 lines (82 loc) · 2.75 KB
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
name: tsan
on:
push:
pull_request:
jobs:
ubuntu:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
version: [22.04, 24.04]
platform: [linux/amd64]
target: [clang-shared-regression-tsan]
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Build
run: |
docker buildx build --platform ${{ matrix.platform }} -t systemc_test --build-arg UBUNTU_VERSION=${{ matrix.version }} -f docker/ubuntu.dockerfile .
docker run -e SYSTEMC_CI_TARGET=${{ matrix.target }} systemc_test
almalinux:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
version: [8, 9]
platform: [linux/amd64]
target: [clang-shared-regression-tsan]
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Build
run: |
docker buildx build --platform ${{ matrix.platform }} -t systemc_test --build-arg ALMA_VERSION=${{ matrix.version }} -f docker/alma.dockerfile .
docker run -e SYSTEMC_CI_TARGET=${{ matrix.target }} systemc_test
ubuntu-arm:
runs-on: ubuntu-24.04-arm
strategy:
fail-fast: false
matrix:
version: [22.04, 24.04]
platform: [linux/arm64]
target: [clang-shared-regression-tsan]
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Build
# seccomp=unconfined is required to allow the personality(2) syscall,
# which the version of tsan packaged in Ubuntu 22.04 requires to
# disable ASLR. Once support is dropped for this version, I expect that
# it will be possible to remove this flag without incurring any new CI
# failures.
run: |
docker buildx build --platform ${{ matrix.platform }} -t systemc_test --build-arg UBUNTU_VERSION=${{ matrix.version }} -f docker/ubuntu.dockerfile .
docker run --security-opt seccomp=unconfined -e SYSTEMC_CI_TARGET=${{ matrix.target }} systemc_test
almalinux-arm:
runs-on: ubuntu-24.04-arm
strategy:
fail-fast: false
matrix:
version: [8, 9]
platform: [linux/arm64]
target: [clang-shared-regression-tsan]
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Build
run: |
docker buildx build --platform ${{ matrix.platform }} -t systemc_test --build-arg ALMA_VERSION=${{ matrix.version }} -f docker/alma.dockerfile .
docker run -e SYSTEMC_CI_TARGET=${{ matrix.target }} systemc_test
macos:
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
target: [clang-shared-regression-tsan]
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Build
run: |
SYSTEMC_CI_TARGET=${{ matrix.target }} SYSTEMC_SRC_PATH=$PWD docker/entrypoint.sh