Skip to content

Commit

Permalink
chore: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SoonIter committed Jul 11, 2024
1 parent fcd6e25 commit 7ad2e93
Showing 1 changed file with 47 additions and 47 deletions.
94 changes: 47 additions & 47 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -216,53 +216,53 @@ jobs:
path: ${{ env.APP_NAME }}.*.node
if-no-files-found: error

test-macOS-windows-binding:
name: Test bindings on "${{ matrix.settings.target }}" - node@${{ matrix.node }}
needs:
- build
strategy:
fail-fast: false
matrix:
settings:
- host: macos-latest
target: "aarch64-apple-darwin"
- host: windows-latest
target: "x86_64-pc-windows-msvc"
node: ["16", "18"]
runs-on: ${{ matrix.settings.host }}

steps:
- uses: actions/checkout@v2

- name: Setup node
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
check-latest: true

- name: Install pnpm
run: npm install -g [email protected]

- name: Cache NPM dependencies
uses: actions/cache@v2
with:
path: ~/.pnpm-store
key: npm-cache-test-${{ matrix.settings.target }}-${{ matrix.node }}-${{ hashFiles('pnpm-lock.yaml') }}

- name: "Install dependencies"
run: pnpm install --no-frozen-lockfile

- name: Download artifacts
uses: actions/download-artifact@v2
with:
name: bindings-${{ matrix.settings.target }}

- name: List packages
run: ls -R .
shell: bash

- name: Test bindings
run: pnpm test
# test-macOS-windows-binding:
# name: Test bindings on "${{ matrix.settings.target }}" - node@${{ matrix.node }}
# needs:
# - build
# strategy:
# fail-fast: false
# matrix:
# settings:
# - host: macos-latest
# target: "aarch64-apple-darwin"
# - host: windows-latest
# target: "x86_64-pc-windows-msvc"
# node: ["16", "18"]
# runs-on: ${{ matrix.settings.host }}

# steps:
# - uses: actions/checkout@v2

# - name: Setup node
# uses: actions/setup-node@v2
# with:
# node-version: ${{ matrix.node }}
# check-latest: true

# - name: Install pnpm
# run: npm install -g [email protected]

# - name: Cache NPM dependencies
# uses: actions/cache@v2
# with:
# path: ~/.pnpm-store
# key: npm-cache-test-${{ matrix.settings.target }}-${{ matrix.node }}-${{ hashFiles('pnpm-lock.yaml') }}

# - name: "Install dependencies"
# run: pnpm install --no-frozen-lockfile

# - name: Download artifacts
# uses: actions/download-artifact@v2
# with:
# name: bindings-${{ matrix.settings.target }}

# - name: List packages
# run: ls -R .
# shell: bash

# - name: Test bindings
# run: pnpm test

test-linux-x64-gnu-binding:
name: Test bindings on Linux-x64-gnu - node@${{ matrix.node }}
Expand Down

0 comments on commit 7ad2e93

Please sign in to comment.