From 90fe14fc525e070317af0d738444273574ed118a Mon Sep 17 00:00:00 2001 From: Hyo-Kyung Lee Date: Mon, 18 Mar 2024 09:02:59 -0500 Subject: [PATCH] Add MINGW64 Cross-compilation Action --- .github/workflows/lin-gcc_min.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/lin-gcc_min.yml diff --git a/.github/workflows/lin-gcc_min.yml b/.github/workflows/lin-gcc_min.yml new file mode 100644 index 00000000000..bf018fe4ffb --- /dev/null +++ b/.github/workflows/lin-gcc_min.yml @@ -0,0 +1,25 @@ +name: lin gcc_min + +on: [push, pull_request] + +jobs: + gcc_min: + name: lin gcc_min + runs-on: ubuntu-latest + steps: + - name: Install Dependencies + run: | + sudo apt update + sudo apt install -y mingw-w64 mingw-w64-tools wine64 + - name: Get Source + uses: actions/checkout@v4.1.1 + - name: Test HDF5 + run: | + mkdir build + cd build + cmake --toolchain ../config/toolchain/mingw64.cmake \ + -DBUILDNAME:STRING=gcc_min \ + -DCTEST_DROP_SITE_INIT:STRING="my.cdash.org" \ + -DSITE:STRING=lin \ + .. + ctest -D Experimental