Skip to content

Commit fa26387

Browse files
author
MarcoFalke
committed
ci: Refactor: Remove CI_USE_APT_INSTALL
1 parent d78ff38 commit fa26387

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

.cirrus.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ env: # Global defaults
33
PACKAGE_MANAGER_INSTALL: "apt-get update && apt-get install -y"
44
MAKEJOBS: "-j10"
55
TEST_RUNNER_PORT_MIN: "14000" # Must be larger than 12321, which is used for the http cache. See https://cirrus-ci.org/guide/writing-tasks/#http-cache
6-
CI_FAILFAST_TEST_LEAVE_DANGLING: "1" # Cirrus CI does not care about dangling process and setting this variable avoids killing the CI script itself on error
6+
CI_FAILFAST_TEST_LEAVE_DANGLING: "1" # Cirrus CI does not care about dangling processes and setting this variable avoids killing the CI script itself on error
77
CCACHE_MAXSIZE: "200M"
88
CCACHE_DIR: "/tmp/ccache_dir"
99
CCACHE_NOHASHDIR: "1" # Debug info might contain a stale path if the build dir changes, but this is fine

.github/workflows/ci.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,24 +15,22 @@ on:
1515

1616
env:
1717
DANGER_RUN_CI_ON_HOST: 1
18-
TEST_RUNNER_TIMEOUT_FACTOR: 40
18+
CI_FAILFAST_TEST_LEAVE_DANGLING: 1 # GHA does not care about dangling processes and setting this variable avoids killing the CI script itself on error
19+
MAKEJOBS: '-j10'
1920

2021
jobs:
2122
macos-native-x86_64:
2223
name: macOS 13 native, x86_64 [no depends, sqlite only, gui]
2324
# Use latest image, but hardcode version to avoid silent upgrades (and breaks).
2425
# See: https://github.com/actions/runner-images#available-images.
25-
runs-on: macos-13
26+
runs-on: macos-13 # Use M1 once available https://github.com/github/roadmap/issues/528
2627

2728
# No need to run on the read-only mirror, unless it is a PR.
2829
if: github.repository != 'bitcoin-core/gui' || github.event_name == 'pull_request'
2930

3031
timeout-minutes: 120
3132

3233
env:
33-
MAKEJOBS: '-j4'
34-
CI_USE_APT_INSTALL: 'no'
35-
PACKAGE_MANAGER_INSTALL: 'echo' # Nothing to do
3634
FILE_ENV: './ci/test/00_setup_env_mac_native.sh'
3735
BASE_ROOT_DIR: ${{ github.workspace }}
3836

ci/test/01_base_install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ fi
2222
if [[ $CI_IMAGE_NAME_TAG == *centos* ]]; then
2323
bash -c "dnf -y install epel-release"
2424
bash -c "dnf -y --allowerasing install $CI_BASE_PACKAGES $PACKAGES"
25-
elif [ "$CI_USE_APT_INSTALL" != "no" ]; then
25+
elif [ "$CI_OS_NAME" != "macos" ]; then
2626
if [[ -n "${APPEND_APT_SOURCES_LIST}" ]]; then
2727
echo "${APPEND_APT_SOURCES_LIST}" >> /etc/apt/sources.list
2828
fi

0 commit comments

Comments
 (0)