From 62920a80a55dd4eafdf59eb18f25a835fa12011a Mon Sep 17 00:00:00 2001 From: tbeu Date: Fri, 9 Feb 2024 20:20:51 +0100 Subject: [PATCH] Try Solaris CI [skip travis] [skip cirrus] [skip appveyor] --- .github/workflows/cmake.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 3c587652..096cb10b 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -116,3 +116,34 @@ jobs: ./build/matdump -d ./share/test_file.mat structure ./build/matdump -v ./share/test_file.mat ./build/matdump -v -f whos ./share/test_file.mat + + build-solaris: + runs-on: ubuntu-latest + name: solaris-gcc + steps: + - name: Checkout repository + uses: actions/checkout@v4 + with: + fetch-depth: 5 + - name: Test with gcc + uses: vmactions/solaris-vm@v1 + with: + release: 11.4-gcc + usesh: true + copyback: false + prepare: | + set -e + pkg add cmake + run: | + set -e + cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DMATIO_SHARED=OFF -DMATIO_MAT73=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