-
-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build with autotools via GitHub Action [skip travis] [skip appveyor]
- Loading branch information
Showing
2 changed files
with
36 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,35 @@ | ||
name: "Autotools build" | ||
|
||
on: | ||
push: | ||
pull_request: | ||
workflow_call: | ||
workflow_dispatch: | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
build: | ||
name: linux-gcc | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 5 | ||
submodules: recursive | ||
- name: Install hdf5 | ||
timeout-minutes: 5 | ||
run: | | ||
sudo apt-get update --fix-missing | ||
sudo apt-get install -y libhdf5-dev | ||
- name: Configure | ||
run: | | ||
./autogen.sh | ||
./configure --with-hdf5=/usr/include/hdf5/serial --with-pic | ||
- name: Build with gcc | ||
run: make -j8 | ||
- name: Test | ||
run: make check |
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 |
---|---|---|
|
@@ -3,6 +3,7 @@ name: "CMake build" | |
on: | ||
push: | ||
pull_request: | ||
workflow_call: | ||
workflow_dispatch: | ||
|
||
defaults: | ||
|