mirror of
https://github.com/darksaid98/mediaplex.git
synced 2026-12-03 14:38:55 +00:00
build(ci): re-enable test-linux-aarch64
This commit is contained in:
1 file changed
+82
-74
+82
-74
@@ -314,80 +314,88 @@ jobs:
|
|||||||
# shell: bash
|
# shell: bash
|
||||||
# - name: Test bindings
|
# - name: Test bindings
|
||||||
# run: docker run --rm -v $(pwd):/build -w /build node:${{ matrix.node }}-alpine yarn test
|
# run: docker run --rm -v $(pwd):/build -w /build node:${{ matrix.node }}-alpine yarn test
|
||||||
# test-linux-aarch64-gnu-binding:
|
test-linux-aarch64-gnu-binding:
|
||||||
# name: Test bindings on aarch64-unknown-linux-gnu - node@${{ matrix.node }}
|
name: Test bindings on aarch64-unknown-linux-gnu - node@${{ matrix.node }}
|
||||||
# needs:
|
needs:
|
||||||
# - build
|
- build
|
||||||
# strategy:
|
strategy:
|
||||||
# fail-fast: false
|
fail-fast: false
|
||||||
# matrix:
|
matrix:
|
||||||
# node:
|
node:
|
||||||
# - '14'
|
- '14'
|
||||||
# - '16'
|
- '16'
|
||||||
# - '18'
|
- '18'
|
||||||
# runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# steps:
|
steps:
|
||||||
# - uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
# - name: Download artifacts
|
- name: Download artifacts
|
||||||
# uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
# with:
|
with:
|
||||||
# name: bindings-aarch64-unknown-linux-gnu
|
name: bindings-aarch64-unknown-linux-gnu
|
||||||
# path: .
|
path: .
|
||||||
# - name: List packages
|
- name: List packages
|
||||||
# run: ls -R .
|
run: ls -R .
|
||||||
# shell: bash
|
shell: bash
|
||||||
# - name: Install dependencies
|
- name: Install dependencies
|
||||||
# run: |
|
run: |
|
||||||
# yarn config set supportedArchitectures.cpu "arm64"
|
yarn config set supportedArchitectures.cpu "arm64"
|
||||||
# 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@v2
|
||||||
# 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
|
||||||
# - name: Setup and run tests
|
- name: Setup and run tests
|
||||||
# uses: addnab/docker-run-action@v3
|
uses: addnab/docker-run-action@v3
|
||||||
# with:
|
with:
|
||||||
# image: node:${{ matrix.node }}-slim
|
image: node:${{ matrix.node }}-slim
|
||||||
# options: '--platform linux/arm64 -v ${{ github.workspace }}:/build -w /build'
|
options: '--platform linux/arm64 -v ${{ github.workspace }}:/build -w /build'
|
||||||
# run: |
|
run: |
|
||||||
# set -e
|
set -e
|
||||||
# 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@${{ matrix.node }}
|
||||||
# needs:
|
needs:
|
||||||
# - build
|
- build
|
||||||
# runs-on: ubuntu-latest
|
strategy:
|
||||||
# steps:
|
fail-fast: false
|
||||||
# - uses: actions/checkout@v3
|
matrix:
|
||||||
# - name: Download artifacts
|
node:
|
||||||
# uses: actions/download-artifact@v3
|
- '14'
|
||||||
# with:
|
- '16'
|
||||||
# name: bindings-aarch64-unknown-linux-musl
|
- '18'
|
||||||
# path: .
|
runs-on: ubuntu-latest
|
||||||
# - name: List packages
|
steps:
|
||||||
# run: ls -R .
|
- uses: actions/checkout@v3
|
||||||
# shell: bash
|
- name: Download artifacts
|
||||||
# - name: Install dependencies
|
uses: actions/download-artifact@v3
|
||||||
# run: |
|
with:
|
||||||
# yarn config set supportedArchitectures.cpu "arm64"
|
name: bindings-aarch64-unknown-linux-musl
|
||||||
# yarn config set supportedArchitectures.libc "musl"
|
path: .
|
||||||
# yarn install
|
- name: List packages
|
||||||
# - name: Set up QEMU
|
run: ls -R .
|
||||||
# uses: docker/setup-qemu-action@v2
|
shell: bash
|
||||||
# with:
|
- name: Install dependencies
|
||||||
# platforms: arm64
|
run: |
|
||||||
# - run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
|
yarn config set supportedArchitectures.cpu "arm64"
|
||||||
# - name: Setup and run tests
|
yarn config set supportedArchitectures.libc "musl"
|
||||||
# uses: addnab/docker-run-action@v3
|
yarn install
|
||||||
# with:
|
- name: Set up QEMU
|
||||||
# image: node:lts-alpine
|
uses: docker/setup-qemu-action@v2
|
||||||
# options: '--platform linux/arm64 -v ${{ github.workspace }}:/build -w /build'
|
with:
|
||||||
# run: |
|
platforms: arm64
|
||||||
# set -e
|
- run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
|
||||||
# yarn test
|
- name: Setup and run tests
|
||||||
|
uses: addnab/docker-run-action@v3
|
||||||
|
with:
|
||||||
|
image: node:lts-alpine
|
||||||
|
options: '--platform linux/arm64 -v ${{ github.workspace }}:/build -w /build'
|
||||||
|
run: |
|
||||||
|
set -e
|
||||||
|
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:
|
||||||
|
|||||||
Reference in new issue
Block a user