diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-01-07 20:18:28 +0100 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-01-07 20:21:54 +0100 |
commit | 84c781b557efd538dec66bde06988d81cd3138cf (patch) | |
tree | e3facf7702137d4eabc63ba8e1f2c11f86a6d019 | |
parent | README: update (diff) | |
download | setup-mingw-master.tar.gz setup-mingw-master.zip |
Diffstat (limited to '')
-rw-r--r-- | .github/workflows/test.yml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index af944d5..9e0a3b3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -76,3 +76,28 @@ jobs: if: runner.os == 'Windows' - name: Check cc/c++ uses: ./.github/actions/check-cc + + different_versions: + strategy: + matrix: + version: ['8.1.0', '12.2.0'] + runs-on: windows-latest + name: 'Version: ${{ matrix.version }}' + defaults: + run: + shell: pwsh + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Clean up PATH + uses: egor-tensin/cleanup-path@v3 + - name: Set up MinGW + id: setup + uses: ./ + with: + version: '${{ matrix.version }}' + - name: Build foo.exe + run: | + & '${{ steps.setup.outputs.gxx }}' -std=c++14 -o foo foo.cpp + - name: Run foo.exe + uses: ./.github/actions/run-foo |