@@ -30,6 +30,7 @@ concurrency:
30
30
31
31
env :
32
32
PYTHON_VERSION : ' 3.12'
33
+ XCODE_VERSION : ' 16.1'
33
34
FLAKY_TESTS : keep_retrying
34
35
35
36
permissions :
40
41
if : github.event.pull_request.draft == false
41
42
strategy :
42
43
fail-fast : false
43
- matrix :
44
- macos-version : [macos-13, macos-14]
45
- runs-on : ${{ matrix.macos-version }}
44
+ runs-on : macos-14
46
45
env :
47
46
CC : sccache gcc
48
47
CXX : sccache g++
@@ -51,14 +50,17 @@ jobs:
51
50
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
52
51
with :
53
52
persist-credentials : false
53
+ path : node
54
54
- name : Set up Python ${{ env.PYTHON_VERSION }}
55
- uses : actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3 .0
55
+ uses : actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4 .0
56
56
with :
57
57
python-version : ${{ env.PYTHON_VERSION }}
58
+ - name : Set up Xcode ${{ env.XCODE_VERSION }}
59
+ run : sudo xcode-select -s /Applications/Xcode_${{ env.XCODE_VERSION }}.app
58
60
- name : Set up sccache
59
- uses : mozilla-actions /sccache-action@9e326ebed976843c9932b3aa0e021c6f50310eb4 # v0.0.6
61
+ uses : Mozilla-Actions /sccache-action@65101d47ea8028ed0c98a1cdea8dd9182e9b5133 # v0.0.8
60
62
with :
61
- version : v0.8.1
63
+ version : v0.10.0
62
64
- name : Environment Information
63
65
run : npx envinfo
64
66
# The `npm ci` for this step fails a lot as part of the Test step. Run it
68
70
# happen anymore running this step here first, that's also useful
69
71
# information.)
70
72
- name : tools/doc/node_modules workaround
71
- run : make tools/doc/node_modules
73
+ run : make -C node tools/doc/node_modules
72
74
# This is needed due to https://github.com/nodejs/build/issues/3878
73
75
- name : Cleanup
74
76
run : |
84
86
df -h
85
87
echo "::endgroup::"
86
88
- name : Build
87
- run : make build-ci -j$(getconf _NPROCESSORS_ONLN) V=1 CONFIG_FLAGS="--error-on-warn"
89
+ run : make -C node build-ci -j$(getconf _NPROCESSORS_ONLN) V=1 CONFIG_FLAGS="--error-on-warn"
88
90
- name : Free Space After Build
89
91
run : df -h
90
92
- name : Test
91
- run : make run-ci -j$(getconf _NPROCESSORS_ONLN) V=1 TEST_CI_ARGS="-p actions --node-args='--test-reporter=spec' --node-args='--test-reporter-destination=stdout' --measure-flakiness 9"
93
+ run : make -C node run-ci -j$(getconf _NPROCESSORS_ONLN) V=1 TEST_CI_ARGS="-p actions --measure-flakiness 9"
94
+ - name : Re-run test in a folder whose name contains unusual chars
95
+ run : |
96
+ mv node "$DIR"
97
+ cd "$DIR"
98
+ ./tools/test.py --flaky-tests keep_retrying -p actions -j 4
99
+ env :
100
+ DIR : dir%20with $unusual"chars?'åß∂ƒ©∆¬…`
0 commit comments