Skip to content

Commit

Permalink
Try CygWin CI [skip travis] [skip cirrus] [skip appveyor]
Browse files Browse the repository at this point in the history
  • Loading branch information
tbeu committed Feb 9, 2024
1 parent 8442fbc commit 92585e4
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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++ zlib-devel
- name: Configure Release
run: |
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DMATIO_SHARED=OFF -DMATIO_MAT73=OFF
- name: Build with ${{ matrix.compiler }}
run: |
cmake --build build -- --j 8
- 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

0 comments on commit 92585e4

Please sign in to comment.