Skip to content

Commit

Permalink
Faster via apt?
Browse files Browse the repository at this point in the history
  • Loading branch information
eseiler committed Aug 10, 2023
1 parent f536eee commit 14ab40c
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/ci_intel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
build:
name: IntelLLVM
runs-on: ubuntu-22.04
container:
image: intel/oneapi-basekit
volumes:
- /home/runner/work/_actions/seqan/actions/main:/home/runner/work/_actions/seqan/actions/main
# container:
# image: intel/oneapi-basekit
# volumes:
# - /home/runner/work/_actions/seqan/actions/main:/home/runner/work/_actions/seqan/actions/main
timeout-minutes: 120
if: github.repository_owner == 'seqan' || github.event_name == 'workflow_dispatch' || github.event.label.name == 'lint'
steps:
Expand All @@ -37,6 +37,13 @@ jobs:
fetch-depth: 1
submodules: true

- name: Install Compiler
run: |
wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB \ | gpg --dearmor | sudo tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null
echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
sudo apt update
sudo apt install --yes intel-oneapi-dpcpp-cpp-2023.2.1
# - name: Setup toolchain
# uses: seqan/actions/setup-toolchain@main
# with:
Expand All @@ -60,6 +67,7 @@ jobs:
CC: icx
CXX: icpx
run: |
source /opt/intel/oneapi/setvars.sh
mkdir build
cd build
cmake ../test/unit -DCMAKE_BUILD_TYPE=Release \
Expand All @@ -69,6 +77,7 @@ jobs:
- name: Build tests
run: |
source /opt/intel/oneapi/setvars.sh
cd build
make -k -j2
Expand Down

0 comments on commit 14ab40c

Please sign in to comment.