Skip to content

Commit

Permalink
Prebuild v3.0.0 / all platforms / N-API 7
Browse files Browse the repository at this point in the history
  • Loading branch information
zbjornson committed Dec 29, 2023
1 parent 439ea70 commit 0525091
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/prebuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
fail-fast: false
matrix:
node: [21]
canvas_tag: ["v2.11.2"] # e.g. "v2.6.1"
canvas_tag: ["v3.0.0"] # e.g. "v2.6.1"
name: ${{ matrix.canvas_tag }}, Node.js ${{ matrix.node }}, Linux
runs-on: ubuntu-latest
container:
Expand Down Expand Up @@ -144,7 +144,7 @@ jobs:
fail-fast: false
matrix:
node: [21]
canvas_tag: ["v2.11.2"] # e.g. "v2.6.1"
canvas_tag: ["v3.0.0"] # e.g. "v2.6.1"
name: ${{ matrix.canvas_tag}}, Node.js ${{ matrix.node }}, macOS
runs-on: macos-latest
env:
Expand Down Expand Up @@ -217,7 +217,7 @@ jobs:
fail-fast: false
matrix:
node: [21]
canvas_tag: ["v2.11.2"] # e.g. "v2.6.1"
canvas_tag: ["v3.0.0"] # e.g. "v2.6.1"
name: ${{ matrix.canvas_tag}}, Node.js ${{ matrix.node }}, Windows
runs-on: windows-2019
env:
Expand Down
5 changes: 3 additions & 2 deletions prebuild/tarball.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# Generate the node-gyp formatted filename from the node environment
# Generate the prebuild-install formatted filename from the node environment
FILENAME=$(
node -e "
var p = process, v = p.versions, libc = require('detect-libc').familySync() || 'unknown';
if (libc === 'glibc') libc = '';
const tagName = p.env.UPLOAD_TO || p.env.CANVAS_VERSION_TO_BUILD;
console.log(['canvas', tagName, 'node-v' + v.modules, p.platform, libc, p.arch].join('-'));
console.log('canvas-v' + tagName + '-napi-v7-' + p.platform + libc + '-' + p.arch);
"
).tar.gz;

Expand Down

0 comments on commit 0525091

Please sign in to comment.