Skip to content

Commit

Permalink
github.workflow: build on Ubuntu 18.04
Browse files Browse the repository at this point in the history
This works around a known issue around runpaths of .so files brought by
qi toolchains.
  • Loading branch information
Victor Paleologue committed Sep 14, 2021
1 parent 42fc3e3 commit 462f190
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/continuous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
# well on Windows or Mac. You can convert this to a matrix build if you need
# cross-platform coverage.
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
runs-on: ubuntu-20.04
runs-on: ubuntu-18.04

steps:

Expand All @@ -27,7 +27,10 @@ jobs:

- name: Install Dependencies
# TODO move these dependencies in the toolchain
run: sudo apt install libgtest-dev libgmock-dev
run: |
sudo add-apt-repository ppa:team-xbmc/ppa # contains libgmock-dev for 18.04
sudo apt-get update
sudo apt install libgtest-dev libgmock-dev
- uses: actions/checkout@v2

Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
# well on Windows or Mac. You can convert this to a matrix build if you need
# cross-platform coverage.
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
runs-on: ubuntu-20.04
runs-on: ubuntu-18.04

steps:

Expand All @@ -25,7 +25,10 @@ jobs:

- name: Install Dependencies
# TODO move these dependencies in the toolchain
run: sudo apt install libgtest-dev libgmock-dev
run: |
sudo add-apt-repository ppa:team-xbmc/ppa # contains libgmock-dev for 18.04
sudo apt-get update
sudo apt install libgtest-dev libgmock-dev
- uses: actions/checkout@v2

Expand Down

0 comments on commit 462f190

Please sign in to comment.