Update ccpp-ubuntu-latest.yml
Allow matrix build on ubuntu-latest and macOS-latest
-name: C/C++ CI on ubuntu-latest
+name: C/C++ CI on Linux and Mac
-on: [push]
+on:
+ push:
+ branches:
+ - master
+ - release/*
+ - buildme/*
+ pull_request:
+ branches:
+ - master
+ schedule:
+ - cron: 0 2 * * 1-5
jobs:
build:
- runs-on: ubuntu-latest
+ runs-on: ${{ matrix.os }}
+ strategy:
+ matrix:
+ os: [ubuntu-latest, macOS-latest]
steps:
- uses: actions/checkout@v1
