Skip to content

Commit

Permalink
Try bashrc
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilyBourne committed Sep 12, 2023
1 parent 5fc0622 commit c173589
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/actions/linux_install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ runs:
sudo apt-get install -y intel-oneapi-compiler-fortran intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic intel-oneapi-openmp intel-oneapi-mkl
LATEST_VERSION=$(ls -1 /opt/intel/oneapi/compiler/ | grep -v latest | sort | tail -1)
# shellcheck source=/dev/null
cat /opt/intel/oneapi/compiler/"$LATEST_VERSION"/env/vars.sh
cat /opt/intel/oneapi/compiler/"$LATEST_VERSION"/env/vars.sh >> $GITHUB_ENV
ls -a
echo "source /opt/intel/oneapi/compiler/$LATEST_VERSION/env/vars.sh" >> .bashrc
#echo $PATH > $GITHUB_PATH
#echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH" >> $GITHUB_ENV
shell: bash

0 comments on commit c173589

Please sign in to comment.