3434 build : |
3535 yarn build --target x86_64-apple-darwin
3636 strip -x *.node
37- - host : windows-latest
38- build : yarn build
39- target : x86_64-pc-windows-msvc
40- - host : windows-latest
41- build : |
42- yarn build --target i686-pc-windows-msvc
43- yarn test
44- target : i686-pc-windows-msvc
4537 - host : ubuntu-latest
4638 target : x86_64-unknown-linux-gnu
4739 docker : ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian
9183 rustup target add aarch64-unknown-linux-musl &&
9284 yarn build --target aarch64-unknown-linux-musl &&
9385 /aarch64-linux-musl-cross/bin/aarch64-linux-musl-strip *.node
94- - host : windows-latest
95- target : aarch64-pc-windows-msvc
96- build : yarn build --target aarch64-pc-windows-msvc
9786 name : stable - ${{ matrix.settings.target }} - node@18
9887 runs-on : ${{ matrix.settings.host }}
9988 steps :
@@ -129,20 +118,8 @@ jobs:
129118 run : ${{ matrix.settings.setup }}
130119 if : ${{ matrix.settings.setup }}
131120 shell : bash
132- - name : Setup node x86
133- if : matrix.settings.target == 'i686-pc-windows-msvc'
134- run : yarn config set supportedArchitectures.cpu "ia32"
135- shell : bash
136121 - name : Install dependencies
137122 run : yarn install
138- - name : Setup node x86
139- uses : actions/setup-node@v3
140- if : matrix.settings.target == 'i686-pc-windows-msvc'
141- with :
142- node-version : 18
143- check-latest : true
144- cache : yarn
145- architecture : x86
146123 - name : Build in docker
147124 uses : addnab/docker-run-action@v3
148125 if : ${{ matrix.settings.docker }}
@@ -160,42 +137,40 @@ jobs:
160137 name : bindings-${{ matrix.settings.target }}
161138 path : ${{ env.APP_NAME }}.*.node
162139 if-no-files-found : error
163- test-macOS-windows-binding :
164- name : Test bindings on ${{ matrix.settings.target }} - node@${{ matrix.node }}
165- needs :
166- - build
167- strategy :
168- fail-fast : false
169- matrix :
170- settings :
171- - host : macos-latest
172- target : x86_64-apple-darwin
173- - host : windows-latest
174- target : x86_64-pc-windows-msvc
175- node :
176- - ' 16'
177- - ' 18'
178- runs-on : ${{ matrix.settings.host }}
179- steps :
180- - uses : actions/checkout@v3
181- - name : Setup node
182- uses : actions/setup-node@v3
183- with :
184- node-version : ${{ matrix.node }}
185- check-latest : true
186- cache : yarn
187- - name : Install dependencies
188- run : yarn install
189- - name : Download artifacts
190- uses : actions/download-artifact@v3
191- with :
192- name : bindings-${{ matrix.settings.target }}
193- path : .
194- - name : List packages
195- run : ls -R .
196- shell : bash
197- - name : Test bindings
198- run : yarn test
140+ # test-macOS-windows-binding:
141+ # name: Test bindings on ${{ matrix.settings.target }} - node@${{ matrix.node }}
142+ # needs:
143+ # - build
144+ # strategy:
145+ # fail-fast: false
146+ # matrix:
147+ # settings:
148+ # - host: macos-latest
149+ # target: x86_64-apple-darwin
150+ # node:
151+ # - '16'
152+ # - '18'
153+ # runs-on: ${{ matrix.settings.host }}
154+ # steps:
155+ # - uses: actions/checkout@v3
156+ # - name: Setup node
157+ # uses: actions/setup-node@v3
158+ # with:
159+ # node-version: ${{ matrix.node }}
160+ # check-latest: true
161+ # cache: yarn
162+ # - name: Install dependencies
163+ # run: yarn install
164+ # - name: Download artifacts
165+ # uses: actions/download-artifact@v3
166+ # with:
167+ # name: bindings-${{ matrix.settings.target }}
168+ # path: .
169+ # - name: List packages
170+ # run: ls -R .
171+ # shell: bash
172+ # - name: Test bindings
173+ # run: yarn test
199174 test-linux-x64-gnu-binding :
200175 name : Test bindings on Linux-x64-gnu - node@${{ matrix.node }}
201176 needs :
@@ -409,7 +384,7 @@ jobs:
409384 name : Publish
410385 runs-on : ubuntu-latest
411386 needs :
412- - test-macOS-windows-binding
387+ # - test-macOS-windows-binding
413388 - test-linux-x64-gnu-binding
414389 - test-linux-x64-musl-binding
415390 - test-linux-aarch64-gnu-binding
0 commit comments