Skip to content

Commit

Permalink
show ubuntu apt cache policy of gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
justinvforvendetta committed Sep 10, 2024
1 parent 1c0625f commit 2556815
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/check-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ jobs:
run: sudo apt-get install build-essential libtool gperf autotools-dev automake pkg-config bsdmainutils curl git bison byacc python3 nsis

- name: Force Posix
run: sudo apt-get install g++-mingw-w64-i686 mingw-w64-i686-dev && sudo update-alternatives --set i686-w64-mingw32-g++ /usr/bin/i686-w64-mingw32-g++-posix
run: sudo apt-get install g++-mingw-w64-i686 mingw-w64-i686-dev && sudo update-alternatives --set i686-w64-mingw32-g++ /usr/bin/i686-w64-mingw32-g++-posix

- name: Build depends for MingW32 Cross Compile
run: PATH=$(echo "$PATH" | sed -e 's/:\/mnt.*//g') && cd depends/ && make HOST=i686-w64-mingw32 -j2
Expand Down Expand Up @@ -317,10 +317,13 @@ jobs:

- name: Install base dependencies
run: sudo apt-get install build-essential libtool gperf autotools-dev automake pkg-config bsdmainutils curl git bison byacc python3 nsis

- name: check politicy/apt-cache policy g++-mingw-w64-i686
run: apt-cache policy g++-mingw-w64-i686

- name: Install MingW32 version 10
run: |
sudo add-apt-repository ppa:ubuntu-toolchain-r/ppa && sudo apt-get update && sudo apt-get install g++-mingw-w64-i686=10.3.0-2 gcc-mingw-w64-i686=10.3.0-2 mingw-w64-i686-dev=10.3.0-2
sudo add-apt-repository ppa:ubuntu-toolchain-r/test && sudo apt-get update && sudo apt-get install g++-mingw-w64-i686=10.3.0-2 gcc-mingw-w64-i686=10.3.0-2 mingw-w64-i686-dev=10.3.0-2
- name: Build depends for MingW32 Cross Compile
run: PATH=$(echo "$PATH" | sed -e 's/:\/mnt.*//g') && cd depends/ && make HOST=i686-w64-mingw32 -j2
Expand Down

0 comments on commit 2556815

Please sign in to comment.