Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
ebertin authored Jan 11, 2024
2 parents 8ccb66f + 5330bd5 commit 67e4c1a
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/fedora/build.sh
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
21 changes: 21 additions & 0 deletions .github/workflows/fedora_latest.yml
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
/tests/test_crossid_single_catalog
/tests/test_crossid_single_catalog_moving
/tests/*.o
/tests/*.trs
/tests/Makefile
/tests/Makefile.in
/tests/*.log
Expand Down

0 comments on commit 67e4c1a

Please sign in to comment.