aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lodder <[email protected]>2021-07-11 21:18:30 +0200
committerPatrick Lodder <[email protected]>2021-07-11 22:20:32 +0200
commit7c90da10c28ef37395a72670f368b859a8c4a408 (patch)
tree8d177633f2554c7ae07fcf0baaca6f15d0b9b7e8
parentMerge pull request #2235 from chey/alpine-musl (diff)
downloaddiscoin-7c90da10c28ef37395a72670f368b859a8c4a408.tar.xz
discoin-7c90da10c28ef37395a72670f368b859a8c4a408.zip
[CI] add macOS GH Actions w/ bionic instead of focal
-rw-r--r--.github/workflows/ci.yml29
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