From ec8d7002c774e8986dc4aaa1e564cf203b527940 Mon Sep 17 00:00:00 2001 From: mib Date: Sat, 11 Jun 2022 15:32:00 +0200 Subject: [PATCH] windows support --- .github/workflows/build.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 9e62c66..eeda50f 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -16,7 +16,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, macos-latest] + os: [ubuntu-latest, macos-latest, windows-latest] steps: # Download dependencies depending on platform - name: Download build tools [linux] @@ -25,6 +25,14 @@ jobs: - name: Download build tools [mac] if: matrix.os == 'macos-latest' run: brew install libtool automake gettext + - name: Setup MinGW [windows] + if: matrix.os == 'windows-latest' + uses: egor-tensin/setup-mingw@v2 + - name: Download build tools [windows] + if: matrix.os == 'windows-latest' + run: pacman -Syuu && pacman -Sy --needed base-devel mingw-w64-i686-toolchain mingw-w64-x86_64-toolchain \ + git subversion mercurial \ + mingw-w64-i686-cmake mingw-w64-x86_64-cmake - name: Checkout repository uses: actions/checkout@v3