diff options
author | Sid Kashyap <sidharth.n.kashyap@intel.com> | 2021-01-08 03:19:45 +0300 |
---|---|---|
committer | Sid Kashyap <sidharth.n.kashyap@intel.com> | 2021-01-08 03:19:45 +0300 |
commit | d8360d7a4ef1aaa551105981bbdd74dc738fa3da (patch) | |
tree | d9a498c2ec9b4259c4c98ba040b32bc6b69317c7 | |
parent | 2647d6c129ccb1cef486628685bb80a85158459a (diff) |
Intel Compiler Action
-rw-r--r-- | .github/workflows/intel-19.yml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/.github/workflows/intel-19.yml b/.github/workflows/intel-19.yml new file mode 100644 index 0000000..67daf49 --- /dev/null +++ b/.github/workflows/intel-19.yml @@ -0,0 +1,27 @@ +name: Intel 19.1 + +on: + push: + branches: [master, static] + pull_request: + branches: [master, static] + +jobs: + build: + runs-on: self-hosted + + steps: + - uses: actions/checkout@v2 + - name: environment + run: source /opt/intel/bin/compilervars.sh intel64 + - name: cmake + run: | + mkdir -p build + cd build + cmake -DCMAKE_C_COMPILER=icc -DCMAKE_CXX_COMPILER=icpc -DCMAKE_BUILD_TYPE=Debug .. + - name: Compile + working-directory: build + run: make -j2 + - name: Test + working-directory: build + run: ctest -j2 |