Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/intgemm/intgemm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSidharth Kashyap <39093996+sidkashyap-at-Intel@users.noreply.github.com>2021-01-08 03:33:42 +0300
committerSid Kashyap <sidharth.n.kashyap@gmail.com>2021-01-11 19:50:28 +0300
commit6aed0d975657108ea32e0f512aee160ba28b5fde (patch)
tree87f85428f7ec0453e3a7aa2d6b19b13d2c97e286
parent1ac18023e1102f7b629217f1ce765f9a78bc2a2a (diff)
Github Action for oneAPI CI
-rw-r--r--.github/workflows/intel-19.yml26
-rw-r--r--README.md2
2 files changed, 18 insertions, 10 deletions
diff --git a/.github/workflows/intel-19.yml b/.github/workflows/intel-19.yml
index 67daf49..95371fb 100644
--- a/.github/workflows/intel-19.yml
+++ b/.github/workflows/intel-19.yml
@@ -1,27 +1,35 @@
-name: Intel 19.1
+name: Intel Compiler
on:
push:
branches: [master, static]
pull_request:
branches: [master, static]
-
jobs:
- build:
- runs-on: self-hosted
-
+ build_linux_apt_cpp:
+ runs-on: ubuntu-20.04
+ defaults:
+ run:
+ shell: bash
steps:
- uses: actions/checkout@v2
- - name: environment
- run: source /opt/intel/bin/compilervars.sh intel64
+ - name: setup repo
+ run: |
+ wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
+ sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
+ sudo echo "deb https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
+ sudo apt-get update
+ - name: install
+ run: sudo apt-get install -y intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic
- name: cmake
run: |
+ source /opt/intel/oneapi/setvars.sh
mkdir -p build
cd build
- cmake -DCMAKE_C_COMPILER=icc -DCMAKE_CXX_COMPILER=icpc -DCMAKE_BUILD_TYPE=Debug ..
+ cmake -DCMAKE_C_COMPILER=icc -DCMAKE_CXX_COMPILER=icpc ..
- name: Compile
working-directory: build
run: make -j2
- name: Test
working-directory: build
- run: ctest -j2
+ run: ctest -j
diff --git a/README.md b/README.md
index b27991d..920c36d 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@
![Build Ubuntu OpenMP](https://github.com/kpu/intgemm/workflows/Ubuntu%20OpenMP/badge.svg)
![Build Windows](https://github.com/kpu/intgemm/workflows/Windows/badge.svg)
![Build Mac](https://github.com/kpu/intgemm/workflows/Mac/badge.svg)
-![Build Mac](https://github.com/sidkashyap-at-Intel/intgemm/workflows/Intel%19/badge.svg)
+![Intel Compilers](https://github.com/kpu/intgemm/workflows/Intel%2019.1/badge.svg)
# Integer Matrix Multiplication