From 9757227e207bc172a84a39ed030da10bce689c2d Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Thu, 14 Nov 2019 13:19:19 +0100 Subject: [PATCH] GitHub CI: run also macOS --- .github/workflows/ccpp.yml | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index ea4db6789..d129ddcf8 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -3,8 +3,8 @@ name: C/C++ CI on: [push] jobs: - build: - + Ubuntu: + name: run Ubuntu runs-on: ubuntu-latest steps: @@ -17,3 +17,20 @@ jobs: run: make check - name: make distcheck run: make distcheck + + macOS: + name: run macOS + runs-on: macos-latest + + steps: + - uses: actions/checkout@v1 + - name: bootstrap + run: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" && brew install autoconf automake libtool pkg-config + - name: configure + run: ./autogen.sh + - name: make + run: make + - name: make check + run: make check + - name: make distcheck + run: make distcheck