Skip to content
Open
Changes from 2 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 @@
on: [push, pull_request]

name: Builds

jobs:
cmake-build:
name: CMake ${{ matrix.os }} ${{ matrix.build_type }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
build_type: ["Debug", "Release"]
steps:
- uses: actions/checkout@v2
Comment thread
Croydon marked this conversation as resolved.
Outdated

- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{ matrix.build_type }}

- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{ matrix.build_type }}

autotools-build:
name: Autotools ${{ matrix.os }} ${{ matrix.build_type }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
build_type: ["install", "install-strip"]
steps:
- uses: actions/checkout@v2
Comment thread
Croydon marked this conversation as resolved.
Outdated

- name: Autoreconf
run: |
autoreconf --install "${{github.workspace}}"
- name: Make
run: |
./configure --prefix=${{github.workspace}}/build
make
make ${{ matrix.build_type }}