Skip to content

Commit 2264d1f

Browse files
committed
cd: macos initial
1 parent aa63dc5 commit 2264d1f

File tree

4 files changed

+39
-4
lines changed

4 files changed

+39
-4
lines changed

.github/workflows/cd.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ on:
66
- '*'
77

88
jobs:
9-
release-win:
9+
release:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
script-id: [win32, win64]
14+
script-id: [win32, win64, mac, mac_arm]
1515
env:
1616
FILE_ENV: ./cd/00_setup_env_${{ matrix.script-id }}.sh
1717
OS_NAME: linux
@@ -30,6 +30,6 @@ jobs:
3030
run: |
3131
./cd/run_all.sh
3232
- name: release
33-
uses: softprops/action-gh-release@v1
33+
uses: softprops/action-gh-release@5e3f23f92c903aac25270f66388fdcb366c5b549
3434
with:
3535
files: '/tmp/release/*'

cd/00_setup_env_mac.sh

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/usr/bin/env bash
2+
#
3+
# Copyright (c) 2019-2020 The Bitcoin Core developers
4+
# Distributed under the MIT software license, see the accompanying
5+
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
6+
7+
export LC_ALL=C.UTF-8
8+
9+
export CONTAINER_NAME=ci_macos_cross
10+
export DOCKER_NAME_TAG=ubuntu:20.04
11+
export HOST=x86_64-apple-darwin18
12+
export PACKAGES="cmake imagemagick libcap-dev librsvg2-bin libz-dev libbz2-dev libtiff-tools libtinfo5 python3-dev python3-setuptools xorriso"
13+
export XCODE_VERSION=12.1
14+
export XCODE_BUILD_ID=12A7403
15+
export RUN_UNIT_TESTS=false
16+
export RUN_FUNCTIONAL_TESTS=false
17+
export GOAL="deploy"
18+
export GRIDCOIN_CONFIG="--with-gui --enable-reduce-exports"

cd/00_setup_env_mac_arm.sh

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/usr/bin/env bash
2+
#
3+
# Copyright (c) 2019-2020 The Bitcoin Core developers
4+
# Distributed under the MIT software license, see the accompanying
5+
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
6+
7+
export LC_ALL=C.UTF-8
8+
9+
export CONTAINER_NAME=ci_macos_arm_cross
10+
export DOCKER_NAME_TAG=ubuntu:20.04
11+
export HOST=arm64-apple-darwin20
12+
export PACKAGES="cmake imagemagick libcap-dev librsvg2-bin libz-dev libbz2-dev libtiff-tools libtinfo5 python3-dev python3-setuptools xorriso"
13+
export XCODE_VERSION=12.1
14+
export XCODE_BUILD_ID=12A7403
15+
export RUN_UNIT_TESTS=false
16+
export RUN_FUNCTIONAL_TESTS=false
17+
export GOAL="deploy"
18+
export GRIDCOIN_CONFIG="--with-gui --enable-reduce-exports"

cd/06_script_a.sh

-1
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,4 @@ END_FOLD
4141
BEGIN_FOLD cache_stats
4242
DOCKER_EXEC "ccache --version | head -n 1 && ccache --show-stats"
4343
DOCKER_EXEC du -sh "${DEPENDS_DIR}"/*/
44-
DOCKER_EXEC du -sh "${PREVIOUS_RELEASES_DIR}"
4544
END_FOLD

0 commit comments

Comments
 (0)