Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
joellembatchou authored Jul 3, 2024
1 parent 83a1f31 commit 98b158c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
BGEN_VERSION: v1.1.7
CMAKE_VERSION_MAJOR: 3.28
CMAKE_VERSION_MINOR: 0
LIB_INSTALL: g++ libgomp1 make python3 zlib1g-dev wget libcurl4-openssl-dev
LIB_INSTALL: g++-9 gfortran-9 libgomp1 make python3 zlib1g-dev wget libcurl4-openssl-dev
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand All @@ -34,6 +34,10 @@ jobs:
- name: Apt packages
run: |
sudo apt install -y --no-install-recommends ${LIB_INSTALL}
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-9
sudo update-alternatives --install /usr/bin/gfortran gfortran /usr/bin/gfortran-9 70
sudo update-alternatives --install /usr/bin/f77 f77 /usr/bin/gfortran-9 70
sudo update-alternatives --install /usr/bin/cc cc /usr/bin/gcc-9 70
wget -O cmake_install.sh "http://cmake.org/files/v${CMAKE_VERSION_MAJOR}/cmake-${CMAKE_VERSION_MAJOR}.${CMAKE_VERSION_MINOR}-linux-x86_64.sh"
sudo sh cmake_install.sh --prefix=/usr/local --skip-license --exclude-subdir
sudo rm cmake_install.sh
Expand Down

0 comments on commit 98b158c

Please sign in to comment.