Skip to content

Commit

Permalink
$chore: mingw32: adjust i686 package names
Browse files Browse the repository at this point in the history
  • Loading branch information
speed47 committed Dec 29, 2024
1 parent 3a98b04 commit f11f636
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,15 @@ jobs:
run: nproc && make -j$(nproc)
- name: check executable (debug)
run: |
file gui/qpxtool
file gui/qpxtool | grep -q 'x86-64'
- name: configure (release)
run: make clean && ./configure
- name: make (release)
run: nproc && make -j$(nproc)
- name: check executable (release)
run: |
file gui/qpxtool
file gui/qpxtool | grep -q 'x86-64'
win64-gui:
Expand All @@ -51,13 +53,15 @@ jobs:
run: nproc && make -j$(nproc)
- name: check executable (debug)
run: |
file gui/debug/qpxtool.exe
file gui/debug/qpxtool.exe | grep -q 'x86-64'
- name: configure (release)
run: make clean && ./configure
- name: make (release)
run: nproc && make -j$(nproc)
- name: check executable (release)
run: |
file gui/release/qpxtool.exe
file gui/release/qpxtool.exe | grep -q 'x86-64'
win32-gui:
Expand All @@ -70,7 +74,7 @@ jobs:
with:
msystem: MINGW32
update: false
install: git make pkg-config mingw-w64-i686-gcc mingw-w64-i686-qt5
install: git make pkg-config mingw32/mingw-w64-i686-gcc mingw32/mingw-w64-i686-qt5-base mingw32/mingw-w64-i686-qt5-tools
- run: git config --global core.autocrlf input
shell: bash
- uses: actions/checkout@v4
Expand All @@ -82,11 +86,13 @@ jobs:
run: nproc && make -j$(nproc)
- name: check executable (debug)
run: |
file gui/debug/qpxtool.exe | grep -q 'Intel 80386'
file gui/debug/qpxtool.exe
file gui/debug/qpxtool.exe | grep -Eq 'Intel (80|i)386'
- name: configure (release)
run: make clean && ./configure
- name: make (release)
run: nproc && make -j$(nproc)
- name: check executable (release)
run: |
file gui/release/qpxtool.exe | grep -q 'Intel 80386'
file gui/release/qpxtool.exe
file gui/release/qpxtool.exe | grep -q 'Intel (80|i)386'
10 changes: 7 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,15 @@ jobs:
run: nproc && make -j$(nproc)
- name: check executable (debug)
run: |
file gui/debug/qpxtool.exe
file gui/debug/qpxtool.exe | grep -q 'x86-64'
- name: configure (release)
run: make clean && ./configure
- name: make (release)
run: nproc && make -j$(nproc)
- name: check executable (release)
run: |
file gui/release/qpxtool.exe
file gui/release/qpxtool.exe | grep -q 'x86-64'
- name: prepare dist
run: ./.github/workflows/make-dist.sh ${{ github.ref }}
Expand All @@ -56,7 +58,7 @@ jobs:
with:
msystem: MINGW32
update: false
install: git make pkg-config mingw-w64-i686-gcc mingw-w64-i686-ntldd-git mingw-w64-i686-qt5 mingw-w64-i686-jq zip
install: git make pkg-config mingw32/mingw-w64-i686-gcc mingw32/mingw-w64-i686-ntldd mingw32/mingw-w64-i686-qt5-base mingw32/mingw-w64-i686-qt5-tools mingw32/mingw-w64-i686-jq zip
- run: git config --global core.autocrlf input
shell: bash
- uses: actions/checkout@v4
Expand All @@ -68,14 +70,16 @@ jobs:
run: nproc && make -j$(nproc)
- name: check executable (debug)
run: |
file gui/debug/qpxtool.exe | grep -q 'Intel 80386'
file gui/debug/qpxtool.exe
file gui/debug/qpxtool.exe | grep -Eq 'Intel (80|i)386'
- name: configure (release)
run: make clean && ./configure
- name: make (release)
run: nproc && make -j$(nproc)
- name: check executable (release)
run: |
file gui/release/qpxtool.exe | grep -q 'Intel 80386'
file gui/release/qpxtool.exe
file gui/release/qpxtool.exe | grep -Eq 'Intel (80|i)386'
- name: prepare dist
run: ./.github/workflows/make-dist.sh ${{ github.ref }}
id: dist
Expand Down

0 comments on commit f11f636

Please sign in to comment.