37 строки
590 B
YAML
37 строки
590 B
YAML
name: C/C++ CI on Linux and Mac
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- main
|
|
- dev
|
|
- dev/*
|
|
- release/*
|
|
- buildme/*
|
|
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
- main
|
|
- dev
|
|
|
|
schedule:
|
|
- cron: 0 2 * * 1-5
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
config: [release, debug]
|
|
os: [ubuntu-latest, macOS-latest]
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v1
|
|
continue-on-error: true
|
|
- name: Test ${{ matrix.os }} ${{ matrix.config }}
|
|
run: ./build-tests.sh ${{ matrix.config }}
|