Skip to content

Commit

Permalink
Configuring actions
Browse files Browse the repository at this point in the history
  • Loading branch information
lmdiazangulo committed Jan 21, 2024
1 parent 1ad73dd commit d374f79
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ubuntu-intel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,6 @@ jobs:
sh -c .github/workflows/oneapi_setup_apt_repo_linux.sh
sudo apt install ${{ env.LINUX_CPP_COMPONENTS }} ${{ env.LINUX_FORTRAN_COMPONENTS }} ${{ env.LINUX_MKL_COMPONENTS }} ${{ env.LINUX_MPI_COMPONENTS }}
- name: Setup Intel oneAPI environment
run: |
source /opt/intel/oneapi/setvars.sh
printenv >> $GITHUB_ENV
- name: Setup ninja
uses: seanmiddleditch/gha-setup-ninja@master

Expand All @@ -56,7 +51,12 @@ jobs:
run: cat build/CMakeFiles/CMakeConfigureLog.yaml

- name: CMake build
run: |
run: |
source /opt/intel/oneapi/setvars.sh
printenv >> $GITHUB_ENV
export FC=ifort
export CC=icc
export CXX=icpc
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
cmake --build build -j
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/ubuntu-intelLLVM.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ jobs:
run: cat build/CMakeFiles/CMakeConfigureLog.yaml

- name: CMake build
run: |
run: |
source /opt/intel/oneapi/setvars.sh
printenv >> $GITHUB_ENV
export FC=ifx
export CC=icx
export CXX=icpx
Expand Down

0 comments on commit d374f79

Please sign in to comment.