Merge pull request #7769

9a24e46 CI: add Ubuntu 18.04 for back. compat. test (mj-xmr)
This commit is contained in:
luigi1111 2021-07-27 16:59:05 -04:00
commit ef659f8b52
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

View File

@ -60,11 +60,17 @@ jobs:
ccache --max-size=150M ccache --max-size=150M
make release-static-win64 -j2 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: build-ubuntu:
runs-on: ubuntu-latest runs-on: ${{ matrix.os }}
env: env:
CCACHE_COMPRESS: 1 CCACHE_COMPRESS: 1
CCACHE_TEMPDIR: /tmp/.ccache-temp CCACHE_TEMPDIR: /tmp/.ccache-temp
strategy:
matrix:
os: [ubuntu-latest, ubuntu-18.04]
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
with: with:
@ -72,8 +78,10 @@ jobs:
- uses: actions/cache@v2 - uses: actions/cache@v2
with: with:
path: ~/.ccache path: ~/.ccache
key: ccache-ubuntu-build-${{ github.sha }} key: ccache-ubuntu-build-${{ matrix.os }}-${{ github.sha }}
restore-keys: ccache-ubuntu-build- restore-keys: |
ccache-ubuntu-build-${{ matrix.os }}
ccache-ubuntu-build-
- name: remove bundled boost - name: remove bundled boost
run: ${{env.REMOVE_BUNDLED_BOOST}} run: ${{env.REMOVE_BUNDLED_BOOST}}
- name: set apt conf - name: set apt conf