Skip to content

Commit 05394ee

Browse files
committed
azure pipelines => github actions
1 parent c5a8871 commit 05394ee

File tree

5 files changed

+50
-3
lines changed

5 files changed

+50
-3
lines changed

.github/workflows/ci.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: ci
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
7+
linuxMeson:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v1
11+
- uses: actions/setup-python@v1
12+
with:
13+
python-version: 3.7
14+
- name: Install Meson
15+
run: python -m pip install meson
16+
- name: Install packages
17+
run: sudo apt install -yq --no-install-recommends ninja-build gfortran libhdf5-dev
18+
- name: Meson configure
19+
run: meson setup build
20+
env:
21+
FC: gfortran
22+
- name: Meson test
23+
run: meson test -C build -v
24+
- uses: actions/upload-artifact@v1
25+
if: failure()
26+
with:
27+
name: Linux_Meson_Testlog
28+
path: build/meson-logs/testlog.txt
29+
30+
linuxCmake:
31+
runs-on: ubuntu-latest
32+
steps:
33+
- uses: actions/checkout@v1
34+
- name: Install packages
35+
run: sudo apt install -yq --no-install-recommends gfortran libhdf5-dev
36+
- name: Cmake configure
37+
run: |
38+
mkdir build
39+
cd build
40+
cmake ..
41+
env:
42+
FC: gfortran
43+
- name: Cmake build
44+
run: cmake --build build --parallel
45+
- name: Cmake test
46+
run: ctest -V
47+
working-directory: build

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[![DOI](https://zenodo.org/badge/128736984.svg)](https://zenodo.org/badge/latestdoi/128736984)
22

3-
[![Build Status](https://travis-ci.org/scivision/oo_hdf5_fortran.svg?branch=master)](https://travis-ci.org/scivision/oo_hdf5_fortran)
4-
[![Build status](https://ci.appveyor.com/api/projects/status/9njjb04mol8l2sjx?svg=true)](https://ci.appveyor.com/project/scivision/oo-hdf5-fortran)
3+
[![Actions Status](https://github.com/scivision/oo_hdf5_fortran/workflows/ci/badge.svg)](https://github.com/scivision/oo_hdf5_fortran/actions)
4+
55

66
# Object-oriented Fortran 2018 HDF5 interface
77

.appveyor.yml renamed to archive/.appveyor.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,3 @@ install:
1515
test_script:
1616
- cd build
1717
- ctest --parallel --output-on-failure
18-
File renamed without changes.

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
meson

0 commit comments

Comments
 (0)