From 331c37a937b0382418158f7f59d9b05a0f737a9a Mon Sep 17 00:00:00 2001 From: alexgiving Date: Sat, 13 Aug 2022 10:54:59 +0300 Subject: [PATCH] add GH Actions --- .github/workflows/workflow.yaml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/workflow.yaml diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml new file mode 100644 index 0000000..5769162 --- /dev/null +++ b/.github/workflows/workflow.yaml @@ -0,0 +1,33 @@ +name: CI + +on: [push, pull_request, workflow_dispatch] + +env: + repo_name: ${{ github.repository }} + sha_git: ${{ github.sha }} + +jobs: + Basic_Workflow: + strategy: + matrix: + os: [ + ubuntu-18.04, + ubuntu-20.04, + ubuntu-22.04, + ] + + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v3 + + - name: Build Stage + run: | + mkdir build && cd build + cmake -DENABLE_ADE_TESTING=ON -DCMAKE_BUILD_TYPE=Release .. + make -j + + - name: ADE-Test Stage + run: ./build/bin/ade-tests + + - name: CMN-Test Stage + run: ./build/bin/common-tests \ No newline at end of file