Skip to content

Commit

Permalink
chore: v0.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Dafyh committed Jul 27, 2024
1 parent b040c8e commit 6375d5f
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 8 deletions.
4 changes: 3 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@ prebuilds
index.d.ts
LICENSE
README.md
docker
docker
src/build
src/node_modules
8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
arch: x64
# - os: macos-11
# platform: darwin-x64
- os: windows-2020
- os: windows-latest
platform: win32
arch: x64
- os: windows-2020
- os: windows-latest
platform: win32
arch: ia32

Expand Down Expand Up @@ -54,7 +54,9 @@ jobs:
# Run container and copy the built file
docker run --name ${{ env.PLATFORM }} ${{ env.PLATFORM }}
docker cp ${{ env.PLATFORM }}:C:/heif-converter/src/build/Release/converter.node ./release/converter.${{ env.PLATFORM }}.node
# Copy binary file from container
docker cp ${{ env.PLATFORM }}:/heif-converter/src/build/Release/converter.node ./release/converter.${{ env.PLATFORM }}.node
# Clean up the Docker container
docker container rm ${{ env.PLATFORM }}
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@myunisoft/heif-converter",
"description": "Bindings for the libheif C API to convert an image in Node.js",
"version": "0.0.6",
"version": "0.0.7",
"keywords": [
"heif",
"heic",
Expand Down Expand Up @@ -46,7 +46,7 @@
"file-type": "^19.0.0",
"heic-convert": "^2.1.0",
"node-addon-api": "^8.0.0",
"node-gyp": "^10.1.0",
"node-gyp": "10.0.1",
"rimraf": "^6.0.1",
"tinybench": "^2.8.0"
},
Expand Down
6 changes: 4 additions & 2 deletions src/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@
"defines": [ "NAPI_CPP_EXCEPTIONS" ],
"conditions": [
[
'OS=="linux"', {
'OS=="linux"',
{
"variables": {
"VCPKG_LIB_ROOT%": "<!(echo $VCPKG_LIB_ROOT)",
"conditions": [
[
'"<!(echo $VCPKG_LIB_ROOT)" == ""', {
'"<!(echo $VCPKG_LIB_ROOT)" == ""',
{
"VCPKG_LIB_ROOT%": "/vcpkg/installed/x64-linux"
}
]
Expand Down

0 comments on commit 6375d5f

Please sign in to comment.