diff options
author | luigi1111 <luigi1111w@gmail.com> | 2021-07-27 16:59:05 -0400 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2021-07-27 16:59:05 -0400 |
commit | ef659f8b528692df99f5372dbfeb66b652af009c (patch) | |
tree | e01a9f403c4a769f6ba79b472bcdb41d1f1b1225 | |
parent | Merge pull request #7765 (diff) | |
parent | CI: add Ubuntu 18.04 for back. compat. test (diff) | |
download | monero-ef659f8b528692df99f5372dbfeb66b652af009c.tar.xz |
Merge pull request #7769
9a24e46 CI: add Ubuntu 18.04 for back. compat. test (mj-xmr)
-rw-r--r-- | .github/workflows/build.yml | 14 |
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 |