Skip to content

Commit

Permalink
prebuildify linux-arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
csett86 committed Apr 23, 2023
1 parent 75640c7 commit 57d3968
Show file tree
Hide file tree
Showing 3 changed files with 3,990 additions and 69 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ jobs:
- os: ubuntu-20.04
arch: x64
build-group: linux-x64
- os: ubuntu-20.04
arch: x64
build-group: linux-arm64
- os: macos-11
arch: x64
build-group: darwin-universal
Expand All @@ -33,30 +36,31 @@ jobs:
env:
BUILD_GROUP: ${{ matrix.build-group }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
architecture: ${{ matrix.arch }}
- name: Install linux dependencies
if: startsWith(matrix.os, 'ubuntu')
run: sudo apt-get install libxtst-dev libpng++-dev
- run: npm install
- run: npm ci
- name: Prebuildify
run: npm run prebuild-$BUILD_GROUP
shell: bash
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: prebuilds
path: prebuilds/
if-no-files-found: error
publish:
name: Publish to npm
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
runs-on: ubuntu-20.04
needs: build
steps:
- uses: actions/checkout@v2
- uses: actions/download-artifact@v2
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
with:
name: prebuilds
path: prebuilds
Expand All @@ -65,7 +69,7 @@ jobs:
tag-prefix: 'v'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: '16'
registry-url: 'https://registry.npmjs.org'
Expand Down
Loading

0 comments on commit 57d3968

Please sign in to comment.