Skip to content

Commit 462f190

Browse files
author
Victor Paleologue
committed
github.workflow: build on Ubuntu 18.04
This works around a known issue around runpaths of .so files brought by qi toolchains.
1 parent 42fc3e3 commit 462f190

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.github/workflows/continuous.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
# well on Windows or Mac. You can convert this to a matrix build if you need
1616
# cross-platform coverage.
1717
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
18-
runs-on: ubuntu-20.04
18+
runs-on: ubuntu-18.04
1919

2020
steps:
2121

@@ -27,7 +27,10 @@ jobs:
2727

2828
- name: Install Dependencies
2929
# TODO move these dependencies in the toolchain
30-
run: sudo apt install libgtest-dev libgmock-dev
30+
run: |
31+
sudo add-apt-repository ppa:team-xbmc/ppa # contains libgmock-dev for 18.04
32+
sudo apt-get update
33+
sudo apt install libgtest-dev libgmock-dev
3134
3235
- uses: actions/checkout@v2
3336

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
# well on Windows or Mac. You can convert this to a matrix build if you need
1414
# cross-platform coverage.
1515
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
16-
runs-on: ubuntu-20.04
16+
runs-on: ubuntu-18.04
1717

1818
steps:
1919

@@ -25,7 +25,10 @@ jobs:
2525

2626
- name: Install Dependencies
2727
# TODO move these dependencies in the toolchain
28-
run: sudo apt install libgtest-dev libgmock-dev
28+
run: |
29+
sudo add-apt-repository ppa:team-xbmc/ppa # contains libgmock-dev for 18.04
30+
sudo apt-get update
31+
sudo apt install libgtest-dev libgmock-dev
2932
3033
- uses: actions/checkout@v2
3134

0 commit comments

Comments
 (0)