66 pull_request :
77 branches : [master]
88
9+ env :
10+ CC : clang
11+ CXX : clang++
12+ MASON_LLVM_RELEASE : system
13+ PYTHON_VERSION : 3.11
14+ NODE_VERSION : 16
15+
916jobs :
1017 test :
1118 runs-on : ${{ matrix.os.host }}
@@ -25,15 +32,14 @@ jobs:
2532 name : ${{ matrix.os.name }}-${{ matrix.os.architecture }}-node${{ matrix.node }}-${{ matrix.build_type }} test
2633 steps :
2734 - uses : actions/checkout@v3
28- - uses : actions/setup-python@v4
29- if : matrix.os.name == 'darwin'
30- with :
31- python-version : ' 3.11'
32-
3335 - uses : actions/setup-node@v3
3436 with :
3537 node-version : ${{ matrix.node }}
3638
39+ - uses : actions/setup-python@v4
40+ if : matrix.os.name == 'darwin'
41+ with :
42+ python-version : ${{ env.PYTHON_VERSION }}
3743 - name : Gyp
3844 if : matrix.os.name == 'darwin'
3945 run : npm install node-gyp@latest
4652 source local.env
4753 make ${{ matrix.build_type }}
4854 npm test
49- env :
50- CC : " clang"
51- CXX : " clang++"
52- MASON_LLVM_RELEASE : " system"
5355
5456 asan-build-test :
5557 runs-on : ubuntu-22.04
6163 - uses : actions/checkout@v3
6264 - uses : actions/setup-node@v3
6365 with :
64- node-version : " 16 "
66+ node-version : ${{ env.NODE_VERSION }}
6567
6668 - name : Test
6769 run : |
8890 - uses : actions/checkout@v3
8991 - uses : actions/setup-node@v3
9092 with :
91- node-version : " 16 "
93+ node-version : ${{ env.NODE_VERSION }}
9294
9395 - name : Test
9496 run : |
@@ -114,15 +116,14 @@ jobs:
114116
115117 steps :
116118 - uses : actions/checkout@v3
117- - uses : actions/setup-python@v4
118- if : matrix.os.name == 'darwin'
119- with :
120- python-version : ' 3.11'
121-
122119 - uses : actions/setup-node@v3
123120 with :
124- node-version : " 16 "
121+ node-version : ${{ env.NODE_VERSION }}
125122
123+ - uses : actions/setup-python@v4
124+ if : matrix.os.name == 'darwin'
125+ with :
126+ python-version : ${{ env.PYTHON_VERSION }}
126127 - name : Gyp
127128 if : matrix.os.name == 'darwin'
128129 run : npm install node-gyp@latest
0 commit comments