@@ -30,6 +30,7 @@ concurrency:
3030
3131env :
3232 PYTHON_VERSION : ' 3.12'
33+ XCODE_VERSION : ' 16.1'
3334 FLAKY_TESTS : keep_retrying
3435
3536permissions :
@@ -38,6 +39,8 @@ permissions:
3839jobs :
3940 test-macOS :
4041 if : github.event.pull_request.draft == false
42+ strategy :
43+ fail-fast : false
4144 runs-on : macos-14
4245 env :
4346 CC : sccache gcc
@@ -47,14 +50,17 @@ jobs:
4750 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4851 with :
4952 persist-credentials : false
53+ path : node
5054 - name : Set up Python ${{ env.PYTHON_VERSION }}
51- uses : actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3 .0
55+ uses : actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4 .0
5256 with :
5357 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
5460 - name : Set up sccache
55- uses : mozilla-actions /sccache-action@9e326ebed976843c9932b3aa0e021c6f50310eb4 # v0.0.6
61+ uses : Mozilla-Actions /sccache-action@65101d47ea8028ed0c98a1cdea8dd9182e9b5133 # v0.0.8
5662 with :
57- version : v0.8.1
63+ version : v0.10.0
5864 - name : Environment Information
5965 run : npx envinfo
6066 # The `npm ci` for this step fails a lot as part of the Test step. Run it
6470 # happen anymore running this step here first, that's also useful
6571 # information.)
6672 - name : tools/doc/node_modules workaround
67- run : make tools/doc/node_modules
73+ run : make -C node tools/doc/node_modules
6874 # This is needed due to https://github.com/nodejs/build/issues/3878
6975 - name : Cleanup
7076 run : |
8086 df -h
8187 echo "::endgroup::"
8288 - name : Build
83- 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"
8490 - name : Free Space After Build
8591 run : df -h
8692 - name : Test
87- 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