diff options
| author | Ross Nicoll <[email protected]> | 2021-07-11 22:09:01 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-07-11 22:09:01 +0100 |
| commit | ba1a1e289f705b988c7f6e9e8214d6b6ce53dac4 (patch) | |
| tree | 8d177633f2554c7ae07fcf0baaca6f15d0b9b7e8 | |
| parent | Merge pull request #2235 from chey/alpine-musl (diff) | |
| parent | [CI] add macOS GH Actions w/ bionic instead of focal (diff) | |
| download | discoin-ba1a1e289f705b988c7f6e9e8214d6b6ce53dac4.tar.xz discoin-ba1a1e289f705b988c7f6e9e8214d6b6ce53dac4.zip | |
Merge pull request #2393 from patricklodder/1.14.4-actions-osx-bionic
[CI] add macOS GH Actions w/ bionic instead of focal
| -rw-r--r-- | .github/workflows/ci.yml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5316a1eee..5f19ce637 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,6 +22,7 @@ jobs: CCACHE_COMPRESS: "1" PYTHON_DEBUG: "1" WINEDEBUG: fixme-all + SDK_URL: https://bitcoincore.org/depends-sources/sdks strategy: fail-fast: false @@ -32,6 +33,7 @@ jobs: - i686-win - x86_64-linux-dbg - x86_64-linux-nowallet + - x86_64-macos - x86_64-win include: - name: i686-linux @@ -92,6 +94,15 @@ jobs: dep-opts: "" config-opts: "--enable-reduce-exports" goal: install + - name: x86_64-macos + host: x86_64-apple-darwin11 + os: ubuntu-18.04 + packages: cmake imagemagick libcap-dev librsvg2-bin libz-dev libtiff-tools libtinfo5 python3-setuptools xorriso libtinfo5 + run-tests: false + dep-opts: "" + config-opts: "--enable-gui --enable-reduce-exports" + goal: deploy + sdk: 10.11 runs-on: ${{ matrix.os }} @@ -114,6 +125,23 @@ jobs: - name: Checkout uses: actions/checkout@v2 + - name: SDK cache + if: ${{ matrix.sdk }} + uses: actions/cache@v2 + env: + cache-name: sdk + with: + path: ./depends/sdk-sources + key: ${{ matrix.name }}-${{ env.cache-name }} + + - name: Install SDK + if: ${{ matrix.sdk }} + run: | + mkdir -p ./depends/sdk-sources + mkdir -p ./depends/SDKs + curl --location --fail $SDK_URL/MacOSX${{ matrix.sdk }}.sdk.tar.gz -o depends/sdk-sources/MacOSX${{ matrix.sdk }}.sdk.tar.gz + tar -C depends/SDKs -xf depends/sdk-sources/MacOSX${{ matrix.sdk }}.sdk.tar.gz + - name: Dependency cache uses: actions/cache@v2 env: @@ -154,3 +182,4 @@ jobs: name: dogecoin-${{ github.sha }}-${{ matrix.name }} path: | depends/${{ matrix.host }}/bin/dogecoin* + dist/Dogecoin-Qt.app |