Skip to content

Commit

Permalink
Attempt to fix win32 build
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelsalawa committed Jan 15, 2023
1 parent ac7428c commit 5b22fbe
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/win32_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ env:
SQLITE_RELEASE_YEAR: '2022'
QT_ARCH: 'win32_mingw81'
PYTHON_VERSION: '3.9'
MINGW_DIR: ../Qt/Tools/mingw810_64
QT_BIN_DIR: ../Qt/5.15.2/mingw81_32/bin
PORTABLE_DIR: output/portable/SQLiteStudio
INSTALLBUILDER_DIR: ../ib
Expand All @@ -25,10 +26,10 @@ jobs:
runs-on: windows-2019

steps:
- name: Set up MinGW
uses: egor-tensin/setup-mingw@v2
with:
platform: x86
# - name: Set up MinGW
# uses: egor-tensin/setup-mingw@v2
# with:
# platform: x86

- name: Cache Qt
id: cache-qt
Expand All @@ -47,6 +48,14 @@ jobs:
# jurplel/install-qt-action has a bug due to which we cannot use ${{ github.workspace }} for the "dir" property, because it will fail.
dir: 'D:/'
setup-python: 'false'

- name: Install mingw
if: steps.cache-qt.outputs.cache-hit != 'true'
shell: bash
run: |
curl -L ${{ env.MINGW_URL }} --output ../mingw.7z
7z x -o"../Qt" ../mingw.7z
echo "${{ env.MINGW_DIR }}/bin" >> $GITHUB_PATH
- uses: actions/setup-python@v4
with:
Expand Down
Binary file modified win_deps/win32_deps.zip
Binary file not shown.

0 comments on commit 5b22fbe

Please sign in to comment.