mirror of
https://github.com/darksaid98/mediaplex.git
synced 2026-12-03 14:38:55 +00:00
build(ci): re-enable linux-x64-musl-binding
- Also updates a bunch of actions
This commit is contained in:
1 file changed
+67
-83
+67
-83
@@ -93,15 +93,14 @@ jobs:
|
|||||||
name: stable - ${{ matrix.settings.target }} - node@18
|
name: stable - ${{ matrix.settings.target }} - node@18
|
||||||
runs-on: ${{ matrix.settings.host }}
|
runs-on: ${{ matrix.settings.host }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
- name: Setup node
|
- name: Setup node
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v4
|
||||||
if: ${{ !matrix.settings.docker }}
|
if: ${{ !matrix.settings.docker }}
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 20
|
||||||
check-latest: true
|
|
||||||
cache: yarn
|
cache: yarn
|
||||||
- name: Install
|
- name: Install
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
@@ -134,11 +133,10 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: yarn install
|
run: yarn install
|
||||||
- name: Setup node x86
|
- name: Setup node x86
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v4
|
||||||
if: matrix.settings.target == 'i686-pc-windows-msvc'
|
if: matrix.settings.target == 'i686-pc-windows-msvc'
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 20
|
||||||
check-latest: true
|
|
||||||
cache: yarn
|
cache: yarn
|
||||||
architecture: x86
|
architecture: x86
|
||||||
- name: Build in docker
|
- name: Build in docker
|
||||||
@@ -162,7 +160,7 @@ jobs:
|
|||||||
runs-on: macos-12
|
runs-on: macos-12
|
||||||
name: Build FreeBSD
|
name: Build FreeBSD
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
- name: Build
|
- name: Build
|
||||||
@@ -227,19 +225,18 @@ jobs:
|
|||||||
- '18'
|
- '18'
|
||||||
runs-on: ${{ matrix.settings.host }}
|
runs-on: ${{ matrix.settings.host }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
- name: Setup node
|
- name: Setup node
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node }}
|
node-version: ${{ matrix.node }}
|
||||||
check-latest: true
|
|
||||||
cache: yarn
|
cache: yarn
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: yarn install
|
run: yarn install
|
||||||
- name: Download artifacts
|
- name: Download artifacts
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: bindings-${{ matrix.settings.target }}
|
name: bindings-${{ matrix.settings.target }}
|
||||||
path: .
|
path: .
|
||||||
@@ -261,17 +258,16 @@ jobs:
|
|||||||
- '18'
|
- '18'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Setup node
|
- name: Setup node
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node }}
|
node-version: ${{ matrix.node }}
|
||||||
check-latest: true
|
|
||||||
cache: yarn
|
cache: yarn
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: yarn install
|
run: yarn install
|
||||||
- name: Download artifacts
|
- name: Download artifacts
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: bindings-x86_64-unknown-linux-gnu
|
name: bindings-x86_64-unknown-linux-gnu
|
||||||
path: .
|
path: .
|
||||||
@@ -280,42 +276,8 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
- name: Test bindings
|
- name: Test bindings
|
||||||
run: docker run --rm -v $(pwd):/build -w /build node:${{ matrix.node }}-slim yarn test
|
run: docker run --rm -v $(pwd):/build -w /build node:${{ matrix.node }}-slim yarn test
|
||||||
# test-linux-x64-musl-binding:
|
test-linux-x64-musl-binding:
|
||||||
# name: Test bindings on x86_64-unknown-linux-musl - node@${{ matrix.node }}
|
name: Test bindings on x86_64-unknown-linux-musl - node@${{ matrix.node }}
|
||||||
# needs:
|
|
||||||
# - build
|
|
||||||
# strategy:
|
|
||||||
# fail-fast: false
|
|
||||||
# matrix:
|
|
||||||
# node:
|
|
||||||
# - '14'
|
|
||||||
# - '16'
|
|
||||||
# - '18'
|
|
||||||
# runs-on: ubuntu-latest
|
|
||||||
# steps:
|
|
||||||
# - uses: actions/checkout@v3
|
|
||||||
# - name: Setup node
|
|
||||||
# uses: actions/setup-node@v3
|
|
||||||
# with:
|
|
||||||
# node-version: ${{ matrix.node }}
|
|
||||||
# check-latest: true
|
|
||||||
# cache: yarn
|
|
||||||
# - name: Install dependencies
|
|
||||||
# run: |
|
|
||||||
# yarn config set supportedArchitectures.libc "musl"
|
|
||||||
# yarn install
|
|
||||||
# - name: Download artifacts
|
|
||||||
# uses: actions/download-artifact@v3
|
|
||||||
# with:
|
|
||||||
# name: bindings-x86_64-unknown-linux-musl
|
|
||||||
# path: .
|
|
||||||
# - name: List packages
|
|
||||||
# run: ls -R .
|
|
||||||
# shell: bash
|
|
||||||
# - name: Test bindings
|
|
||||||
# run: docker run --rm -v $(pwd):/build -w /build node:${{ matrix.node }}-alpine yarn test
|
|
||||||
test-linux-aarch64-gnu-binding:
|
|
||||||
name: Test bindings on aarch64-unknown-linux-gnu - node@${{ matrix.node }}
|
|
||||||
needs:
|
needs:
|
||||||
- build
|
- build
|
||||||
strategy:
|
strategy:
|
||||||
@@ -327,9 +289,41 @@ jobs:
|
|||||||
- '18'
|
- '18'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
|
- name: Setup node
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: ${{ matrix.node }}
|
||||||
|
cache: yarn
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
yarn config set supportedArchitectures.libc "musl"
|
||||||
|
yarn install
|
||||||
- name: Download artifacts
|
- name: Download artifacts
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
|
with:
|
||||||
|
name: bindings-x86_64-unknown-linux-musl
|
||||||
|
path: .
|
||||||
|
- name: List packages
|
||||||
|
run: ls -R .
|
||||||
|
shell: bash
|
||||||
|
- name: Test bindings
|
||||||
|
run: docker run --rm -v $(pwd):/build -w /build node:${{ matrix.node }}-alpine yarn test
|
||||||
|
test-linux-aarch64-gnu-binding:
|
||||||
|
name: Test bindings on aarch64-unknown-linux-gnu - node@${{ matrix.node }}
|
||||||
|
needs:
|
||||||
|
- build
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
node:
|
||||||
|
- '18'
|
||||||
|
- '20'
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Download artifacts
|
||||||
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: bindings-aarch64-unknown-linux-gnu
|
name: bindings-aarch64-unknown-linux-gnu
|
||||||
path: .
|
path: .
|
||||||
@@ -342,7 +336,7 @@ jobs:
|
|||||||
yarn config set supportedArchitectures.libc "glibc"
|
yarn config set supportedArchitectures.libc "glibc"
|
||||||
yarn install
|
yarn install
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v2
|
uses: docker/setup-qemu-action@v3
|
||||||
with:
|
with:
|
||||||
platforms: arm64
|
platforms: arm64
|
||||||
- run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
|
- run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
|
||||||
@@ -356,21 +350,14 @@ jobs:
|
|||||||
yarn test
|
yarn test
|
||||||
ls -la
|
ls -la
|
||||||
test-linux-aarch64-musl-binding:
|
test-linux-aarch64-musl-binding:
|
||||||
name: Test bindings on aarch64-unknown-linux-musl - node@${{ matrix.node }}
|
name: Test bindings on aarch64-unknown-linux-musl - node@lts
|
||||||
needs:
|
needs:
|
||||||
- build
|
- build
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
node:
|
|
||||||
- '14'
|
|
||||||
- '16'
|
|
||||||
- '18'
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Download artifacts
|
- name: Download artifacts
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: bindings-aarch64-unknown-linux-musl
|
name: bindings-aarch64-unknown-linux-musl
|
||||||
path: .
|
path: .
|
||||||
@@ -383,7 +370,7 @@ jobs:
|
|||||||
yarn config set supportedArchitectures.libc "musl"
|
yarn config set supportedArchitectures.libc "musl"
|
||||||
yarn install
|
yarn install
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v2
|
uses: docker/setup-qemu-action@v3
|
||||||
with:
|
with:
|
||||||
platforms: arm64
|
platforms: arm64
|
||||||
- run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
|
- run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
|
||||||
@@ -395,7 +382,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
set -e
|
set -e
|
||||||
yarn test
|
yarn test
|
||||||
ls -la
|
|
||||||
test-linux-arm-gnueabihf-binding:
|
test-linux-arm-gnueabihf-binding:
|
||||||
name: Test bindings on armv7-unknown-linux-gnueabihf - node@${{ matrix.node }}
|
name: Test bindings on armv7-unknown-linux-gnueabihf - node@${{ matrix.node }}
|
||||||
needs:
|
needs:
|
||||||
@@ -409,9 +395,9 @@ jobs:
|
|||||||
- '18'
|
- '18'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Download artifacts
|
- name: Download artifacts
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: bindings-armv7-unknown-linux-gnueabihf
|
name: bindings-armv7-unknown-linux-gnueabihf
|
||||||
path: .
|
path: .
|
||||||
@@ -423,7 +409,7 @@ jobs:
|
|||||||
yarn config set supportedArchitectures.cpu "arm"
|
yarn config set supportedArchitectures.cpu "arm"
|
||||||
yarn install
|
yarn install
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v2
|
uses: docker/setup-qemu-action@v3
|
||||||
with:
|
with:
|
||||||
platforms: arm
|
platforms: arm
|
||||||
- run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
|
- run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
|
||||||
@@ -442,22 +428,21 @@ jobs:
|
|||||||
- build
|
- build
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Setup node
|
- name: Setup node
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 18
|
||||||
check-latest: true
|
|
||||||
cache: yarn
|
cache: yarn
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: yarn install
|
run: yarn install
|
||||||
- name: Download macOS x64 artifact
|
- name: Download macOS x64 artifact
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: bindings-x86_64-apple-darwin
|
name: bindings-x86_64-apple-darwin
|
||||||
path: artifacts
|
path: artifacts
|
||||||
- name: Download macOS arm64 artifact
|
- name: Download macOS arm64 artifact
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: bindings-aarch64-apple-darwin
|
name: bindings-aarch64-apple-darwin
|
||||||
path: artifacts
|
path: artifacts
|
||||||
@@ -476,23 +461,22 @@ jobs:
|
|||||||
- build-freebsd
|
- build-freebsd
|
||||||
- test-macOS-windows-binding
|
- test-macOS-windows-binding
|
||||||
- test-linux-x64-gnu-binding
|
- test-linux-x64-gnu-binding
|
||||||
# - test-linux-x64-musl-binding
|
- test-linux-x64-musl-binding
|
||||||
# - test-linux-aarch64-gnu-binding
|
- test-linux-aarch64-gnu-binding
|
||||||
# - test-linux-aarch64-musl-binding
|
- test-linux-aarch64-musl-binding
|
||||||
- test-linux-arm-gnueabihf-binding
|
- test-linux-arm-gnueabihf-binding
|
||||||
- universal-macOS
|
- universal-macOS
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Setup node
|
- name: Setup node
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 20
|
||||||
check-latest: true
|
|
||||||
cache: yarn
|
cache: yarn
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: yarn install
|
run: yarn install
|
||||||
- name: Download all artifacts
|
- name: Download all artifacts
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
path: artifacts
|
path: artifacts
|
||||||
- name: Move artifacts
|
- name: Move artifacts
|
||||||
|
|||||||
Reference in new issue
Block a user