Skip to content

Commit

Permalink
im tired and the installer sux
Browse files Browse the repository at this point in the history
  • Loading branch information
Cvolton committed Oct 4, 2024
1 parent 6f18553 commit ea50046
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/build-x86.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,16 @@ jobs:

- name: Install TDM GCC 5.1.0
run: |
curl https://sourceforge.net/projects/tdm-gcc/files/TDM-GCC%205%20series/5.1.0-tdm-1%20DW2/gcc-5.1.0-tdm-1-dw2-core.zip/download -o compiler.zip -L
curl https://geometrydash.eu/_other/TDM-GCC-32.zip -o compiler.zip -L
7z x compiler.zip -o"C:/TDM-GCC-5.1.0"
curl https://sourceforge.net/projects/tdm-gcc/files/TDM-GCC%205%20series/5.1.0-tdm-1%20DW2/gcc-5.1.0-tdm-1-dw2-c++.zip/download -o compiler2.zip -L
7z x compiler2.zip -o"C:/TDM-GCC-5.1.0" -aoa
curl https://sourceforge.net/projects/tdm-gcc/files/GNU%20binutils/binutils-2.25-tdm64-1.zip/download -o compiler3.zip -L
7z x compiler3.zip -o"C:/TDM-GCC-5.1.0_h" -aoa
- name: Install Ninja
run: |
choco install ninja
- name: Configure
run: |
$env:PATH = "C:/TDM-GCC-5.1.0/bin;C:/TDM-GCC-5.1.0_h/x86_64-w64-mingw32/bin;" + $env:PATH
$env:PATH = "C:/TDM-GCC-5.1.0/bin;" + $env:PATH
cmake -DCMAKE_C_COMPILER_WORKS=1 -DCMAKE_CXX_COMPILER_WORKS=1 -DCMAKE_C_FLAGS=-m32 -DCMAKE_CXX_FLAGS=-m32 -DCMAKE_SHARED_LINKER_FLAGS=-m32 -DCMAKE_C_COMPILER=C:/TDM-GCC-5.1.0/bin/gcc-dw2.exe -DCMAKE_CXX_COMPILER=C:/TDM-GCC-5.1.0/bin/g++-dw2.exe -G Ninja -B build -S .
- name: Build
Expand Down

0 comments on commit ea50046

Please sign in to comment.