|
29 | 29 | build: |
|
30 | 30 | yarn build
|
31 | 31 | strip -x *.node
|
32 |
| - - host: windows-latest |
33 |
| - build: yarn build |
34 |
| - target: x86_64-pc-windows-msvc |
35 |
| - architecture: x64 |
36 | 32 | - host: ubuntu-latest
|
37 | 33 | target: x86_64-unknown-linux-gnu
|
38 | 34 | docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine-zig
|
@@ -114,46 +110,6 @@ jobs:
|
114 | 110 | name: bindings-${{ matrix.settings.target }}
|
115 | 111 | path: ${{ env.APP_NAME }}.*.node
|
116 | 112 | if-no-files-found: error
|
117 |
| - test-macOS-windows-binding: |
118 |
| - name: Test bindings on ${{ matrix.settings.target }} - node@${{ matrix.node }} |
119 |
| - needs: |
120 |
| - - build |
121 |
| - strategy: |
122 |
| - fail-fast: false |
123 |
| - matrix: |
124 |
| - settings: |
125 |
| - - host: windows-latest |
126 |
| - target: x86_64-pc-windows-msvc |
127 |
| - node: |
128 |
| - - '12' |
129 |
| - - '14' |
130 |
| - - '16' |
131 |
| - runs-on: ${{ matrix.settings.host }} |
132 |
| - steps: |
133 |
| - - uses: actions/checkout@v3 |
134 |
| - - name: Setup node |
135 |
| - uses: actions/setup-node@v3 |
136 |
| - with: |
137 |
| - node-version: ${{ matrix.node }} |
138 |
| - check-latest: true |
139 |
| - cache: yarn |
140 |
| - - name: Cache NPM dependencies |
141 |
| - uses: actions/cache@v2 |
142 |
| - with: |
143 |
| - path: node_modules |
144 |
| - key: npm-cache-test-${{ matrix.settings.target }}-${{ matrix.node }}-${{ hashFiles('yarn.lock') }} |
145 |
| - - name: Install dependencies |
146 |
| - run: yarn install --ignore-scripts --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000 |
147 |
| - - name: Download artifacts |
148 |
| - uses: actions/download-artifact@v3 |
149 |
| - with: |
150 |
| - name: bindings-${{ matrix.settings.target }} |
151 |
| - path: . |
152 |
| - - name: List packages |
153 |
| - run: ls -R . |
154 |
| - shell: bash |
155 |
| - - name: Test bindings |
156 |
| - run: yarn test |
157 | 113 | test-linux-x64-gnu-binding:
|
158 | 114 | name: Test bindings on Linux-x64-gnu - node@${{ matrix.node }}
|
159 | 115 | needs:
|
@@ -195,7 +151,6 @@ jobs:
|
195 | 151 | name: Publish
|
196 | 152 | runs-on: ubuntu-latest
|
197 | 153 | needs:
|
198 |
| - - test-macOS-windows-binding |
199 | 154 | - test-linux-x64-gnu-binding
|
200 | 155 | steps:
|
201 | 156 | - uses: actions/checkout@v3
|
|
0 commit comments