Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Commit

Permalink
CI: drop 10/12 from matrix and add 18
Browse files Browse the repository at this point in the history
  • Loading branch information
jesec committed May 3, 2022
1 parent 7f3403b commit 2030888
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 51 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/arm64-alpine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
target-node: [10, 12, 14, 16, 17]
target-node: [14, 16, 18]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/arm64-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
target-node: [10, 12, 14, 16, 17]
target-node: [14, 16, 18]

steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/arm64-linuxstatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ jobs:
strategy:
fail-fast: false
matrix:
target-node: [10, 12, 14, 16, 17]
target-node: [14, 16, 18]
target-arch: [arm64]
include:
- target-arch: arm64
docker-platform: linux/arm64
- target-node: 16
target-arch: armv7
docker-platform: linux/arm/v7
- target-node: 17
- target-node: 18
target-arch: armv7
docker-platform: linux/arm/v7

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/arm64-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
target-node: [14, 16, 17]
target-node: [14, 16, 18]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-alpine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
target-node: [10, 12, 14, 16, 17]
target-node: [14, 16, 18]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
target-node: [10, 12, 14, 16, 17]
target-node: [14, 16, 18]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-linuxstatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
target-node: [10, 12, 14, 16, 17]
target-node: [14, 16, 18]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
target-node: [10, 12, 14, 16, 17]
target-node: [14, 16, 18]

steps:
- uses: actions/checkout@v2
Expand Down
42 changes: 1 addition & 41 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,53 +4,13 @@ on:
workflow_dispatch:

jobs:
windows-vs2017:
runs-on: windows-2016

strategy:
fail-fast: false
matrix:
target-node: [10, 12]
target-arch: [x64]

steps:
- uses: actions/checkout@v2

- uses: actions/setup-python@v2
with:
python-version: '2.x'

- name: Use Node.js 14
uses: actions/setup-node@v1
with:
node-version: 14

- run: yarn install

- run: choco install nasm

- run: yarn start --node-range node${{ matrix.target-node }} --arch ${{ matrix.target-arch }} --output dist
env:
PKG_BUILD_PATH: build

- name: Check if binary is compiled
id: check_file
run: |
if (Test-Path -Path dist\\*.sha256sum -PathType Leaf) { echo "::set-output name=EXISTS::true" } else { echo "::set-output name=EXISTS::false" }
- uses: actions/upload-artifact@v2
if: steps.check_file.outputs.EXISTS == 'true'
with:
name: node${{ matrix.target-node }}-windows-${{ matrix.target-arch }}
path: dist\\*

windows-vs2019:
runs-on: windows-2019

strategy:
fail-fast: false
matrix:
target-node: [14, 16, 17]
target-node: [14, 16, 18]
target-arch: [x64, arm64]

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false # prevent test to stop if one fails
matrix:
node-version: [10.x, 12.x, 14.x, 16.x, 17.x]
node-version: [10.x, 12.x, 14.x, 16.x, 18.x]
os: [ubuntu-latest] # Skip macos-latest, windows-latest for now

runs-on: ${{ matrix.os }}
Expand Down

0 comments on commit 2030888

Please sign in to comment.