diff options
| author | Tyge Løvset <[email protected]> | 2021-09-19 12:33:32 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-09-19 12:33:32 +0200 |
| commit | 0f5362fb4e2ef345782ac096b3f18e96dc854230 (patch) | |
| tree | 657b2921583e85ba5fd8b69b7f6eab87e84d189d /.github/workflows | |
| parent | 89a9ef8492ac755394bd65df24fce220b3d26b40 (diff) | |
| parent | 57dbfbd8e68a9df26f0902cafbd3059bbd479822 (diff) | |
| download | STC-modified-0f5362fb4e2ef345782ac096b3f18e96dc854230.tar.gz STC-modified-0f5362fb4e2ef345782ac096b3f18e96dc854230.zip | |
Merge pull request #11 from Kamilcuk/master
Add build system and CI/CD testing
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/workflow.yml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml new file mode 100644 index 00000000..5ceacd43 --- /dev/null +++ b/.github/workflows/workflow.yml @@ -0,0 +1,23 @@ +name: "Main Workflow" +on: + pull_request: + push: + +jobs: + build_and_test: + runs-on: ubuntu-latest + env: + CFLAGS: -Wall -Wno-unused-function -ggdb3 -fsanitize=address -fsanitize=undefined -fsanitize=pointer-compare -fsanitize=pointer-subtract + CXXFLAGS: -Wall -Wno-unused-function -ggdb3 -fsanitize=address -fsanitize=undefined -fsanitize=pointer-compare -fsanitize=pointer-subtract + steps: + - name: 'Checkout' + uses: actions/checkout@v2 + - name: 'Build & Test' + uses: ashutoshvarma/action-cmake-build@master + with: + cc: gcc + cxx: g++ + build-type: Release + configure-options: -DBUILD_TESTING=1 + ctest-options: --output-on-failure + run-test: true |
