-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from casacore/prepare_for_release_and_fix_ci
bump version number, fix CI
- Loading branch information
Showing
8 changed files
with
99 additions
and
168 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,32 @@ | ||
name: ci | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'master' | ||
tags: | ||
- '*' | ||
pull_request: | ||
branches: | ||
- 'master' | ||
|
||
jobs: | ||
docker: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
compiler: [gcc, clang] | ||
steps: | ||
- | ||
name: Checkout | ||
uses: actions/checkout@v2 | ||
- | ||
name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v1 | ||
- | ||
name: Build and push | ||
id: docker_build | ||
uses: docker/build-push-action@v2 | ||
with: | ||
push: false | ||
file: docker/${{ matrix.compiler }}.docker |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
FROM kernsuite/base:7 | ||
RUN docker-apt-install \ | ||
build-essential \ | ||
clang \ | ||
cmake \ | ||
casacore-dev \ | ||
libhdf5-dev \ | ||
libboost-all-dev \ | ||
wcslib-dev \ | ||
libcfitsio-dev \ | ||
libboost-system-dev \ | ||
libboost-thread-dev \ | ||
libblas-dev \ | ||
liblapack-dev \ | ||
libncurses5-dev \ | ||
libmysofa-dev \ | ||
bison \ | ||
libbison-dev \ | ||
flex \ | ||
libreadline6-dev \ | ||
gfortran | ||
|
||
ADD . /code | ||
RUN mkdir /code/build | ||
WORKDIR /code/build | ||
RUN cmake .. \ | ||
-DBUILD_TESTING=ON \ | ||
-DCMAKE_C_COMPILER=/usr/bin/clang \ | ||
-DCMAKE_CXX_COMPILER=/usr/bin/clang++ | ||
RUN make -j 4 | ||
RUN make test | ||
RUN make install |
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,29 @@ | ||
FROM kernsuite/base:7 | ||
|
||
RUN docker-apt-install \ | ||
build-essential \ | ||
cmake \ | ||
casacore-dev \ | ||
libhdf5-dev \ | ||
libboost-all-dev \ | ||
wcslib-dev \ | ||
libcfitsio-dev \ | ||
libboost-system-dev \ | ||
libboost-thread-dev \ | ||
libblas-dev \ | ||
liblapack-dev \ | ||
libncurses5-dev \ | ||
libmysofa-dev \ | ||
bison \ | ||
libbison-dev \ | ||
flex \ | ||
libreadline6-dev \ | ||
gfortran | ||
|
||
ADD . /code | ||
RUN mkdir /code/build | ||
WORKDIR /code/build | ||
RUN cmake .. -DBUILD_TESTING=ON | ||
RUN make -j 4 | ||
RUN make test | ||
RUN make install |