aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
authormj-xmr <mjxmr@protonmail.com>2021-07-04 07:14:35 +0200
committermj-xmr <mjxmr@protonmail.com>2021-07-12 08:06:08 +0200
commit9a24e464bab1c3d1e5d74a924df16289a5f2d1e3 (patch)
tree93d9a8fbe51b2cbb21258cbd0403c09ac9e87345 /.github/workflows/build.yml
parentMerge pull request #7764 (diff)
downloadmonero-9a24e464bab1c3d1e5d74a924df16289a5f2d1e3.tar.xz
CI: add Ubuntu 18.04 for back. compat. test
Diffstat (limited to '')
-rw-r--r--.github/workflows/build.yml14
1 files changed, 11 insertions, 3 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 36eab5027..16ad51657 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -60,11 +60,17 @@ jobs:
ccache --max-size=150M
make release-static-win64 -j2
+# See the OS labels and monitor deprecations here:
+# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
+
build-ubuntu:
- runs-on: ubuntu-latest
+ runs-on: ${{ matrix.os }}
env:
CCACHE_COMPRESS: 1
CCACHE_TEMPDIR: /tmp/.ccache-temp
+ strategy:
+ matrix:
+ os: [ubuntu-latest, ubuntu-18.04]
steps:
- uses: actions/checkout@v1
with:
@@ -72,8 +78,10 @@ jobs:
- uses: actions/cache@v2
with:
path: ~/.ccache
- key: ccache-ubuntu-build-${{ github.sha }}
- restore-keys: ccache-ubuntu-build-
+ key: ccache-ubuntu-build-${{ matrix.os }}-${{ github.sha }}
+ restore-keys: |
+ ccache-ubuntu-build-${{ matrix.os }}
+ ccache-ubuntu-build-
- name: remove bundled boost
run: ${{env.REMOVE_BUNDLED_BOOST}}
- name: set apt conf