From eca8afcd4d73caec470869b10b2cc28a80c20b6b Mon Sep 17 00:00:00 2001 From: tbeu Date: Fri, 9 Feb 2024 21:51:13 +0100 Subject: [PATCH] Try CygWin CI [skip travis] [skip cirrus] [skip appveyor] --- .github/workflows/cmake.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 92043b5c..7b954fe0 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -149,3 +149,28 @@ jobs: ./build/matdump -v ./share/test_file.mat ./build/matdump -v -f whos ./share/test_file.mat + build-cygwin: + runs-on: windows-latest + name: windows-cygwin + steps: + - name: Checkout repository + uses: actions/checkout@v4 + with: + fetch-depth: 5 + - name: Setup Cygwin environment + uses: egor-tensin/setup-cygwin@v4 + with: + packages: cmake gcc-g++ libhdf5-devel zlib-devel + - name: Test with gcc + run: | + cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DMATIO_SHARED=OFF + cmake --build build -- -j8 + ./build/test_snprintf + ./build/test_mat -H + ./build/test_mat -L + ./build/test_mat -V + ./build/matdump -v -H + ./build/matdump -V + ./build/matdump -d ./share/test_file.mat structure + ./build/matdump -v ./share/test_file.mat + ./build/matdump -v -f whos ./share/test_file.mat