Skip to content

C/C++ CI

C/C++ CI #116

Workflow file for this run

---
name: C/C++ CI
on:
schedule:
- cron: "0 22 3 * 5" # run test once a month
push:
branches: [master]
paths:
- configure.ac
- 'src/**'
- 'include/**'
- '.github/workflows/**'
pull_request:
branches: [master]
jobs:
notification:
runs-on: ubuntu-latest
name: Notifications
steps:
- name: IRC notification of starting the builds
uses: LanguageMachines/ticcactions/irc-init@v1
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
build:
runs-on: ${{ matrix.os }}
needs: notification
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
compiler: [g++-12, clang++]
steps:
- uses: actions/[email protected]
- uses: LanguageMachines/ticcactions/cpp-build-env@v1
- uses: LanguageMachines/ticcactions/cpp-dependencies@v1
- uses: LanguageMachines/ticcactions/cpp-submodule-build@v1
with:
module: ticcutils
branch: develop
- uses: LanguageMachines/ticcactions/cpp-safe-build@v1
- uses: LanguageMachines/ticcactions/irc-nick@v1
- name: Notify IRC of results
uses: LanguageMachines/ticcactions/irc-status@v1
with:
branch: ${{ github.ref_name }}
nickname: ${{ env.nick }}
step: test
status: ${{ env.action_status }}
details: ${{ env.action_details }}