From 7bd6829ffe630a2a90b6fba3595cdd805a841bc9 Mon Sep 17 00:00:00 2001 From: minhqdao Date: Wed, 31 Jul 2024 21:33:59 +0530 Subject: [PATCH] Add fpm tests on mingw64 and ucrt64 --- .github/workflows/ci.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 669da97..f0aa8cc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,6 +39,36 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} - run: fpm test + fpm-test-mingw64-gcc: + runs-on: windows-latest + defaults: + run: + shell: msys2 {0} + steps: + - uses: actions/checkout@v4 + - uses: msys2/setup-msys2@v2 + with: + msystem: mingw64 + install: >- + mingw-w64-x86_64-gcc-fortran + mingw-w64-x86_64-fpm + - run: fpm test + + fpm-test-ucrt64-gcc: + runs-on: windows-latest + defaults: + run: + shell: msys2 {0} + steps: + - uses: actions/checkout@v4 + - uses: msys2/setup-msys2@v2 + with: + msystem: ucrt64 + install: >- + mingw-w64-ucrt-x86_64-gcc-fortran + mingw-w64-ucrt-x86_64-fpm + - run: fpm test + make-test: strategy: fail-fast: false