diff options
author | Kenneth Heafield <github@kheafield.com> | 2020-08-10 23:53:14 +0300 |
---|---|---|
committer | Kenneth Heafield <github@kheafield.com> | 2020-08-10 23:53:14 +0300 |
commit | 799a6b632eb4b66e6bf4dfd6f153252417da7a39 (patch) | |
tree | 9a0fade379a4c644396bdd53264ba3102201df1a | |
parent | a97997c04fe7e23bfecf74c452d46c1179b11f77 (diff) |
OMP build
-rw-r--r-- | .github/workflows/build-ubuntu-18.04-omp.yml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/.github/workflows/build-ubuntu-18.04-omp.yml b/.github/workflows/build-ubuntu-18.04-omp.yml new file mode 100644 index 0000000..9362ea7 --- /dev/null +++ b/.github/workflows/build-ubuntu-18.04-omp.yml @@ -0,0 +1,29 @@ +name: ubuntu-18.04-omp + +on: + push: + branches: [ master static ] + pull_request: + branches: [ master static ] + +jobs: + build: + + runs-on: ubuntu-18.04 + + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Configure CMake + run: | + mkdir -p build + cd build + cmake -DUSE_OPENMP=1 .. + - name: Compile + working-directory: build + run: make -j2 + + - name: Run unit tests + working-directory: build + run: ctest -j2 |