Fix missing include for register uniqueness test #31
Workflow file for this run
This file contains 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: Builds | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
gcc: | |
permissions: | |
packages: read | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/dyninst/amd64/ubuntu-20.04:latest | |
credentials: | |
username: ${{ github.actor }} | |
password: ${{ secrets.github_token }} | |
name: gcc | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
path: tests | |
- name: Build tests | |
run: | | |
cd tests | |
flags="-DCMAKE_C_FLAGS='-Werror' -DCMAKE_CXX_FLAGS='-Werror' -DCMAKE_CXX_STANDARD=17" | |
cmake . -DDyninst_DIR=/dyninst/install/lib/cmake/Dyninst $flags | |
cmake --build . | |
- name: Run tests | |
run: | | |
cd tests | |
ctest . | |
clang: | |
permissions: | |
packages: read | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/dyninst/amd64/ubuntu-20.04:latest | |
credentials: | |
username: ${{ github.actor }} | |
password: ${{ secrets.github_token }} | |
name: clang | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
path: tests | |
- name: Build tests | |
run: | | |
cd tests | |
flags="-DCMAKE_C_FLAGS='-Werror' -DCMAKE_CXX_FLAGS='-Werror' -DCMAKE_CXX_STANDARD=17" | |
flags="$flags -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ " | |
cmake . -DDyninst_DIR=/dyninst/install/lib/cmake/Dyninst $flags | |
cmake --build . | |
- name: Run tests | |
run: | | |
cd tests | |
ctest . |