Skip to content

Commit

Permalink
chore: update ci images
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Oct 28, 2023
1 parent eb1ce2d commit 83aec16
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
env:
NAPI_VERSION: 7
BINDING_NAME: jpeg-turbo
MACOSX_DEPLOYMENT_TARGET: "10.13"

jobs:
build-and-test:
Expand All @@ -29,33 +30,35 @@ jobs:
- os: macos-11
arch: arm64
is-native: false
- os: macos-10.15
- os: macos-11
arch: x64
is-native: true
# linux
- os: ubuntu-18.04
- os: ubuntu-latest
arch: x64
is-native: true
docker-arch: linux/amd64
docker-image: node:18-buster
extra-copy-args: --extraFiles libturbojpeg.so.0
# linux-libc
- os: ubuntu-latest
arch: arm64
is-native: false
docker-arch: linux/arm64
docker-image: node:16-buster
docker-image: node:18-buster
extra-copy-args: --extraFiles libturbojpeg.so.0
- os: ubuntu-latest
arch: arm
is-native: false
docker-arch: linux/arm/v7
docker-image: node:16-buster
docker-image: node:18-buster
extra-copy-args: --extraFiles libturbojpeg.so.0
# linux-musl
- os: ubuntu-latest
arch: x64
is-native: false
docker-arch: linux/amd64
docker-image: node:16-alpine
docker-image: node:18-alpine
libc: musl
extra-copy-args: --extraFiles libturbojpeg.so.0

Expand Down Expand Up @@ -86,10 +89,10 @@ jobs:
run: |
brew install yasm
- name: Use Node.js 16.x
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18.x

- name: rebuild
if: ${{ !matrix.docker-arch }}
Expand Down

0 comments on commit 83aec16

Please sign in to comment.