# HG changeset patch # User Paper <37962225+mrpapersonic@users.noreply.github.com> # Date 1658367086 14400 # Node ID 01c605e78f48dba3ed3aeedc09eec8c609a02d4c # Parent 0d62f49c1948857a3b75edfe49072c719a61f73d Statically build Win32 and Win64 (#5) diff -r 0d62f49c1948 -r 01c605e78f48 .github/workflows/build.yml --- a/.github/workflows/build.yml Mon Jul 18 12:03:45 2022 -0400 +++ b/.github/workflows/build.yml Wed Jul 20 21:31:26 2022 -0400 @@ -6,6 +6,7 @@ jobs: build-win32: + name: Windows i686 (32-bit) runs-on: windows-latest steps: - name: Setup MinGW @@ -22,8 +23,8 @@ run: | set PATH=C:\MinGW\bin;%PATH% set CC=mingw32-gcc - mingw32-make - mingw32-make gui + mingw32-make CC_FLAGS=-static + mingw32-make gui CC_FLAGS=-static strip msvpvf.exe strip gui.exe shell: cmd @@ -38,6 +39,7 @@ msvpvf.exe build-win64: + name: Windows amd64 (64-bit) runs-on: windows-latest defaults: run: @@ -56,8 +58,8 @@ - name: make run: | export CC=clang - make - make gui + make CC_FLAGS=-static + make gui CC_FLAGS=-static strip msvpvf.exe strip gui.exe @@ -71,6 +73,7 @@ msvpvf.exe build-mac: + name: macOS (64-bit) runs-on: macOS-latest steps: - name: Install "dependencies"