diff options
author | Roman Grundkiewicz <rgrundkiewicz@gmail.com> | 2021-04-08 20:41:15 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-08 20:41:15 +0300 |
commit | 0223ce90b1d6afaa047f2baeb4d0689f87d7ae81 (patch) | |
tree | a5771a65259561268b8b02d7df8eca3d3093fc03 /.github | |
parent | bfa6180033307f579f91d4220971474d0c3de86d (diff) |
Fix Ubuntu GitHub checks (#848)
* Change ubuntu-latest to ubuntu-18.04
* Install gcc/g++
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ubuntu.yml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 6bdff553..5353c214 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -13,7 +13,7 @@ jobs: include: # Ubuntu CPU-only build - name: "Ubuntu CPU-only" - os: ubuntu-latest + os: ubuntu-18.04 cuda: "" gcc: 7 cpu: true @@ -72,7 +72,9 @@ jobs: # No need to install libprotobuf{17,10,9v5} on Ubuntu {20,18,16}.04 because it is installed together with libprotobuf-dev # Boost is no longer pre-installed on GitHub-hosted runners - name: Install dependencies - run: sudo apt-get install -y libgoogle-perftools-dev libprotobuf-dev protobuf-compiler libboost-system-dev + run: | + sudo apt-get install -y libgoogle-perftools-dev libprotobuf-dev protobuf-compiler libboost-system-dev \ + gcc-${{ matrix.gcc }} g++-${{ matrix.gcc }} # https://software.intel.com/content/www/us/en/develop/articles/installing-intel-free-libs-and-python-apt-repo.html - name: Install MKL |