diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 92043b5c..6b123150 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -149,3 +149,32 @@ 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++ hdf5 libhdf5-devel zlib-devel + - name: Configure Release + run: | + cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DMATIO_MAT73=OFF + - name: Build with gcc + run: | + cmake --build ./build + - name: Test + run: | + ./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