Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: CI

on:
push:
branches: [master]
pull_request:
branches: [master]
workflow_dispatch:

jobs:
build:
name: linux (OMP_NUM_THREADS=${{ matrix.omp_threads }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
omp_threads: [1, 8]
env:
OMP_NUM_THREADS: ${{ matrix.omp_threads }}

steps:
- uses: actions/checkout@v4

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y autoconf automake libtool guile-3.0-dev

- name: Build and test
run: |
sh autogen.sh --prefix=$PWD/.local --enable-openmp
make
make check
make install

- name: Print test logs on failure
if: failure()
run: |
for log in utils/*.log; do
[ -f "$log" ] && { echo "=== $log ==="; cat "$log"; }
done
29 changes: 0 additions & 29 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[![Latest Docs](https://readthedocs.org/projects/pip/badge/?version=latest)](http://libctl.readthedocs.io/en/latest/)
[![Build Status](https://travis-ci.org/NanoComp/libctl.svg?branch=master)](https://travis-ci.org/NanoComp/libctl)
[![CI](https://github.com/NanoComp/libctl/actions/workflows/ci.yml/badge.svg)](https://github.com/NanoComp/libctl/actions/workflows/ci.yml)

This is libctl, a [Guile](http://www.gnu.org/software/guile/)-based library for supporting flexible control
files in scientific simulations.
Expand Down