examples/tlm: build shared common sources once via OBJECT library #183
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: ubsan | |
| 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-ubsan] | |
| 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-ubsan] | |
| 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-ubsan] | |
| 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-arm: | |
| runs-on: ubuntu-24.04-arm | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| version: [8, 9] | |
| platform: [linux/arm64] | |
| target: [clang-shared-regression-ubsan] | |
| 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-ubsan] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Build | |
| run: | | |
| SYSTEMC_CI_TARGET=${{ matrix.target }} SYSTEMC_SRC_PATH=$PWD docker/entrypoint.sh |