The free Travis bits stopped working ages ago, let's try out GitHub's
Actions support as a replacement. Just a simple build + test without
extra deps to start with.
--- /dev/null
+name: onak build test
+
+on:
+ push:
+ branches: [ $default-branch ]
+ pull_request:
+ branches: [ $default-branch ]
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v3
+
+ - name: Configure CMake
+ run: cmake -B ${{github.workspace}}/build
+
+ - name: Build
+ run: cmake --build ${{github.workspace}}/build
+
+ - name: Test
+ working-directory: ${{github.workspace}}/build
+ run: ctest
+++ /dev/null
-language: c
-dist: bionic
-compiler:
- - clang
- - gcc
-git:
- depth: false
-addons:
- apt:
- packages:
- - cmake
- - libdb-dev
- - libcurl4-gnutls-dev
- - libpq-dev
- - libsystemd-dev
- - nettle-dev
-before_script:
- - mkdir travis-build
- - cd travis-build
- - cmake ..
-script: make && make test