Skip to content

Commit

Permalink
Second attempt at building Win32 wheel
Browse files Browse the repository at this point in the history
  • Loading branch information
lelit committed Jan 12, 2024
1 parent cce31ce commit e42c82d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,16 @@ jobs:
if: ${{ matrix.arch == 'aarch64' }}
uses: docker/setup-qemu-action@v3

- name: Set up MSVC x86
if: ${{ matrix.os == 'windows-2022' }}
uses: ilammy/msvc-dev-cmd@v1
with:
arch: x86

- name: Build win32 libpg_query.a
if: ${{ matrix.os == 'windows-2022' }}
shell: cmd
run: |
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x86
cd libpg_query
nmake /F Makefile.msvc build
Expand Down

0 comments on commit e42c82d

Please sign in to comment.