forked from HDFGroup/hdf5
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add MINGW64 Cross-compilation Action
- Loading branch information
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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/[email protected] | ||
- 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 |