Skip to content

Commit

Permalink
Add comments on the Windows x86 build (working!)
Browse files Browse the repository at this point in the history
  • Loading branch information
SleepyLeslie committed May 18, 2024
1 parent 7c8167e commit ca6103e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
target: x86
name: ${{ matrix.os }} (node=${{ matrix.node }}, host=${{ matrix.host }}, target=${{ matrix.target }})
steps:
- name: association
- name: Set up bash association
if: startsWith(matrix.os, 'windows')
run: |
ls
Expand Down Expand Up @@ -72,11 +72,14 @@ jobs:
- name: Fix Windows x86 sqlite3 binding
if: startsWith(matrix.os, 'windows') && matrix.target == 'x86'
run: yarn upgrade sqlite3
# Prebuilt binding is for x64. We must build from source for x86 target.
# See:
# https://stackoverflow.com/questions/72553650/how-to-get-node-sqlite3-working-on-mac-m1
# https://yarnpkg.com/lang/en/docs/envvars/#toc-npm-config
env:
npm_config_build_from_source: true
npm_config_target_arch: ia32
npm_config_fallback_to_build: true


- name: Hooks and crooks
run: yarn run setup
Expand Down

0 comments on commit ca6103e

Please sign in to comment.