-
Notifications
You must be signed in to change notification settings - Fork 262
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
220 additions
and
156 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,54 @@ | ||
### | ||
# Build hdf4, hdf5 dependencies and cache them in a combined directory. | ||
# See https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners | ||
# for information related to github runners. | ||
### | ||
|
||
name: Run MSYS2, MinGW64-based Tests | ||
|
||
|
||
on: [ pull_request ] | ||
|
||
jobs: | ||
|
||
build-and-test: | ||
|
||
runs-on: windows-latest | ||
defaults: | ||
run: | ||
shell: msys2 {0} | ||
|
||
steps: | ||
|
||
- uses: actions/checkout@v2 | ||
- uses: msys2/setup-msys2@v2 | ||
with: | ||
msystem: MINGW64 | ||
update: true | ||
install: git mingw-w64-x86_64-toolchain automake libtool autoconf make cmake mingw-w64-x86_64-hdf5 unzip | ||
|
||
### | ||
# Configure and build | ||
### | ||
|
||
- name: (Autotools) Run autoconf | ||
run: autoreconf -if | ||
|
||
- name: (Autotools) Configure Build | ||
run: ./configure --enable-hdf5 --enable-dap --disable-dap-remote-tests --disable-static --disable-plugins --disable-byterange --disable-dap-remote-tests --disable-logging | ||
if: ${{ success() }} | ||
|
||
- name: (Autotools) Look at config.log if error | ||
run: cat config.log | ||
if: ${{ failure() }} | ||
|
||
- name: (Autotools) Print Summary | ||
run: cat libnetcdf.settings | ||
|
||
- name: (Autotools) Build Library and Utilities | ||
run: make -j 8 LDFLAGS="-no-undefined -Wl,--export-all-symbols" | ||
if: ${{ success() }} | ||
|
||
- name: (Autotools) Build and Run Tests | ||
run: make check -j 8 | ||
if: ${{ success() }} |
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
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
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
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
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
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
Oops, something went wrong.