Skip to content

Commit b2a8683

Browse files
Merge branch 'master' of https://github.com/rgcgithub/regenie
2 parents 7efae88 + 98b158c commit b2a8683

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ on:
1212

1313
jobs:
1414
build:
15-
runs-on: ubuntu-20.04
15+
runs-on: ubuntu-latest
1616
name: Build
1717
env:
1818
BOOST_IO: 0
1919
STATIC: 1
2020
BGEN_VERSION: v1.1.7
2121
CMAKE_VERSION_MAJOR: 3.28
2222
CMAKE_VERSION_MINOR: 0
23-
LIB_INSTALL: g++ libgomp1 make python3 zlib1g-dev wget libcurl4-openssl-dev
23+
LIB_INSTALL: g++-9 gfortran-9 libgomp1 make python3 zlib1g-dev wget libcurl4-openssl-dev
2424
steps:
2525
- name: Checkout repository
2626
uses: actions/checkout@v3
@@ -34,6 +34,10 @@ jobs:
3434
- name: Apt packages
3535
run: |
3636
sudo apt install -y --no-install-recommends ${LIB_INSTALL}
37+
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-9
38+
sudo update-alternatives --install /usr/bin/gfortran gfortran /usr/bin/gfortran-9 70
39+
sudo update-alternatives --install /usr/bin/f77 f77 /usr/bin/gfortran-9 70
40+
sudo update-alternatives --install /usr/bin/cc cc /usr/bin/gcc-9 70
3741
wget -O cmake_install.sh "http://cmake.org/files/v${CMAKE_VERSION_MAJOR}/cmake-${CMAKE_VERSION_MAJOR}.${CMAKE_VERSION_MINOR}-linux-x86_64.sh"
3842
sudo sh cmake_install.sh --prefix=/usr/local --skip-license --exclude-subdir
3943
sudo rm cmake_install.sh

0 commit comments

Comments
 (0)