Skip to content

Add parseAPI/simpleParser #20

Add parseAPI/simpleParser

Add parseAPI/simpleParser #20

Workflow file for this run

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'"
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' "
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 .