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 c102e74
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,3 +149,31 @@ 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 gcc
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

0 comments on commit c102e74

Please sign in to comment.