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