File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212
1313jobs :
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
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
You can’t perform that action at this time.
0 commit comments