Created
July 3, 2023 17:30
-
-
Save geoffreygarrett/06765936df5b4687d320491517ca5d47 to your computer and use it in GitHub Desktop.
pkg-config-github-actions-windows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: Setup PkgConfig (Windows) | |
if: runner.os == 'Windows' | |
env: | |
PKG_CONFIG_ZIP: "http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config_0.26-1_win32.zip" | |
GETTEXT_RUNTIME_ZIP: "http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-runtime_0.18.1.1-2_win32.zip" | |
GLIB_ZIP: "http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.28/glib_2.28.8-1_win32.zip" | |
run: | | |
curl -LO "${{ env.PKG_CONFIG_ZIP }}" | |
7z x pkg-config_0.26-1_win32.zip -oC:\MinGW\bin pkg-config.exe | |
curl -LO "${{ env.GETTEXT_RUNTIME_ZIP }}" | |
7z x gettext-runtime_0.18.1.1-2_win32.zip -oC:\MinGW\bin intl.dll | |
curl -LO "${{ env.GLIB_ZIP }}" | |
7z x glib_2.28.8-1_win32.zip -oC:\MinGW\bin libglib-2.0-0.dll | |
echo "C:\MinGW\bin" >> $GITHUB_PATH | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment