Skip to content

Commit

Permalink
add GH Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgiving committed Aug 13, 2022
1 parent 401d682 commit 331c37a
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .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

0 comments on commit 331c37a

Please sign in to comment.