-
Notifications
You must be signed in to change notification settings - Fork 13
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
3 changed files
with
43 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,21 @@ | ||
#!/bin/sh | ||
|
||
set -e | ||
|
||
dnf install -y gcc make autoconf automake libtool | ||
dnf install -y atlas-devel fftw-devel plplot-devel curl-devel | ||
|
||
# test dependencies | ||
dnf install -y python3-numpy.x86_64 python3-astropy.x86_64 | ||
|
||
USER=root | ||
export USER | ||
|
||
cd "$WORK_DIR" | ||
|
||
./autogen.sh | ||
./configure | ||
make | ||
|
||
# run the tests | ||
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Fedora build | ||
|
||
on: | ||
push: | ||
paths-ignore: | ||
- 'doc/**' | ||
pull_request: | ||
paths-ignore: | ||
- 'doc/**' | ||
|
||
jobs: | ||
|
||
fedora_build: | ||
runs-on: ubuntu-latest | ||
if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]')" | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Build | ||
run: docker run --privileged=true -e CI -e WORK_DIR="$PWD" -v $PWD:$PWD -v /var/run/docker.sock:/var/run/docker.sock fedora:latest /bin/bash $PWD/.github/workflows/fedora/build.sh |
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