Some checks failed
Test / linux_test (16.x, aarch64, linux) (push) Successful in 2m7s
Test / linux_test (16.x, aarch64, windows) (push) Failing after 2m15s
Test / linux_test (16.x, x86_64, windows) (push) Failing after 1m51s
Test / linux_test (16.x, aarch64, macos) (push) Failing after 5m37s
Test / linux_test (16.x, x86_64, linux) (push) Successful in 6m16s
Test / linux_test (18.x, aarch64, linux) (push) Successful in 2m12s
Test / linux_test (16.x, x86_64, macos) (push) Failing after 5m4s
Test / linux_test (18.x, aarch64, windows) (push) Failing after 2m37s
Test / linux_test (18.x, aarch64, macos) (push) Failing after 4m40s
Test / linux_test (18.x, x86_64, windows) (push) Failing after 2m18s
Test / linux_test (19.x, aarch64, linux) (push) Successful in 2m1s
Test / linux_test (18.x, x86_64, linux) (push) Successful in 5m57s
Test / linux_test (18.x, x86_64, macos) (push) Failing after 5m58s
Test / linux_test (19.x, aarch64, windows) (push) Failing after 2m32s
Test / linux_test (19.x, aarch64, macos) (push) Failing after 4m10s
Test / linux_test (19.x, x86_64, windows) (push) Failing after 2m15s
Test / linux_test (20.x, aarch64, linux) (push) Successful in 2m12s
Test / linux_test (19.x, x86_64, linux) (push) Successful in 5m58s
Test / linux_test (19.x, x86_64, macos) (push) Failing after 5m31s
Test / linux_test (20.x, aarch64, windows) (push) Failing after 2m41s
Test / linux_test (20.x, aarch64, macos) (push) Failing after 5m4s
Test / linux_test (20.x, x86_64, windows) (push) Failing after 1m59s
Test / linux_test (20.x, x86_64, linux) (push) Successful in 5m24s
Test / linux_test (20.x, x86_64, macos) (push) Failing after 5m32s
Test / linux_test (21.x, aarch64, linux) (push) Successful in 2m9s
Test / linux_test (21.x, aarch64, windows) (push) Failing after 2m19s
Test / linux_test (21.x, aarch64, macos) (push) Failing after 4m29s
Test / linux_test (21.x, x86_64, windows) (push) Failing after 1m49s
Test / linux_test (21.x, x86_64, linux) (push) Successful in 4m27s
Test / linux_test (21.x, x86_64, macos) (push) Failing after 4m24s
64 lines
1.4 KiB
YAML
64 lines
1.4 KiB
YAML
name: Test
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
linux_test:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
node_version:
|
|
- 16.x
|
|
- 18.x
|
|
- 19.x
|
|
- 20.x
|
|
- 21.x
|
|
target_arch:
|
|
- "x86_64"
|
|
- "aarch64"
|
|
target_os:
|
|
- "linux"
|
|
- "windows"
|
|
- "macos"
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
name: Checkout
|
|
|
|
- name: "Setup zig"
|
|
uses: korandoru/setup-zig@v1
|
|
with:
|
|
zig-version: "master"
|
|
|
|
- uses: actions/setup-node@v4
|
|
name: Setup Node.js
|
|
with:
|
|
node-version: ${{ matrix.node_version }}
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
export DEBIAN_FRONTEND=noninteractive
|
|
sudo apt update
|
|
sudo apt install -y "build-essential"
|
|
npm install --no-save
|
|
cd test
|
|
npm install --no-save --ignore-scripts
|
|
|
|
- name: Test
|
|
run: |
|
|
./node_modules/.bin/tsc --build --clean
|
|
./node_modules/.bin/tsc --build
|
|
node ./src/bin/index.js build -w ./test -D --target "${{ matrix.target_arch }}-${{ matrix.target_os }}"
|
|
|
|
- name: Upload prebuilds interface
|
|
uses: actions/upload-artifact@v3
|
|
if: always()
|
|
with:
|
|
retention-days: 7
|
|
name: build_${{ matrix.target_arch }}-${{ matrix.target_os }}_${{ matrix.node_version }}
|
|
path: "test/build"
|