Skip to content

Merge pull request #53 from thbeu/avoid-msvc-deprecated-warning #90

Merge pull request #53 from thbeu/avoid-msvc-deprecated-warning

Merge pull request #53 from thbeu/avoid-msvc-deprecated-warning #90

Workflow file for this run

name: CI
on:
push:
pull_request:
workflow_dispatch:
jobs:
build-autoconf:
name: linux-autoconf
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup
run: sudo apt-get install build-essential libtool-bin
- name: Autogen
run: ./autogen.sh
- name: Configure
run: ./configure
- name: Make
run: make
- name: Check
run: make check
build-cmake:
name: ${{ matrix.toolchain }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
toolchain:
- linux-gcc
- macos-clang
- windows-msvc
configuration:
- Release
include:
- toolchain: linux-gcc
os: ubuntu-latest
compiler: gcc
- toolchain: macos-clang
os: macos-latest
compiler: clang
- toolchain: windows-msvc
os: windows-latest
compiler: msvc
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Configure (${{ matrix.configuration }})
run: cmake -S . -Bbuild -DCMAKE_BUILD_TYPE=${{ matrix.configuration }}
- name: Build with ${{ matrix.compiler }}
run: cmake --build build
- name: Test
run: cd build && ctest -V .