Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add prebuild for windows arm64 #167

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

thegecko
Copy link
Contributor

@thegecko thegecko commented Feb 24, 2024

Similar to node-usb/node-usb#735

This PR adds prebuild support for Windows arm64.

I notice there have been issues in the past building on windows-2022, so this may fail and need putting back to windows-2019 (untested)

Switched to windows-2019.

Node builds for win32-arm64 didn't appear until node v20, so I've had to rework the targets so all other builds still use v14

Requires #168 to be merged first

@thegecko
Copy link
Contributor Author

@reconbot

.github/workflows/build.yml Outdated Show resolved Hide resolved
@thegecko
Copy link
Contributor Author

Bump

@reconbot
Copy link
Member

I think you can drop the targets and just add the arch and it should work now.

@reconbot
Copy link
Member

To specify, drop the --target in the package.json and in the build - we can just target napi and we should be good now that 18 is our lowest supported node version.

@thegecko
Copy link
Contributor Author

To specify, drop the --target in the package.json and in the build - we can just target napi and we should be good now that 18 is our lowest supported node version.

Done, lets see what gets built...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants