Skip to content

Commit

Permalink
Try and build windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Loki-Astari committed Jun 3, 2024
1 parent 8000d76 commit 17ec9f6
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,17 @@ jobs:
shell: msys2 {0}
env:
MSYS: winsymlinks:nativestrict
run: ./configure --disable-colour --disable-vera --with-magicenum-header-only-root=/tmp/magic_enum/include/magic_enum --with-yaml-root=/mingw64/ --disable-test-with-locked-file --with-sdl2-prefix=${cwd}/SDL2-2.30.3/${arch}
run: |
export cwd=$(pwd)
export arch=i686-w64-mingw32
hard=$(uname --machine)
echo "Machine: >${hard}<"
if [[ "${hard}" == "x86" ]]; then
arch="x86_64-w64-mingw32"
fi
export PATH="${PATH}:${cwd}/SDL2-2.30.3/${arch}/bin"
echo "Adding: >${cwd}/SDL2-2.30.3/${arch}/bin<"
./configure --disable-colour --disable-vera --with-magicenum-header-only-root=/tmp/magic_enum/include/magic_enum --with-yaml-root=/mingw64/ --disable-test-with-locked-file --with-sdl2-prefix=${cwd}/SDL2-2.30.3/${arch}
- name: Make
shell: msys2 {0}
run: make
Expand Down

0 comments on commit 17ec9f6

Please sign in to comment.