File: mbtserver.yml

package info (click to toggle)
mbtserver 0.17-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,160 kB
  • sloc: cpp: 439; makefile: 25; sh: 12
file content (76 lines) | stat: -rw-r--r-- 1,993 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
---
name: C/C++ CI

on:
  schedule:
    - cron: "0 19 3 * 5"  # run test once a month
  push:
    branches:
      - master
      - develop
    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/cancel-workflow-action@0.12.1
        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/checkout@v4.1.1

      - uses: LanguageMachines/ticcactions/cpp-build-env@v1
      - uses: LanguageMachines/ticcactions/cpp-dependencies@v1
      - uses: LanguageMachines/ticcactions/irc-nick@v1

      - uses: LanguageMachines/ticcactions/cpp-submodule-build@v1
        with:
          branch: ${{ github.ref_name }}
          module: ticcutils

      - uses: LanguageMachines/ticcactions/cpp-submodule-build@v1
        with:
          branch: ${{ github.ref_name }}
          module: timbl

      - uses: LanguageMachines/ticcactions/cpp-submodule-build@v1
        with:
          branch: ${{ github.ref_name }}
          module: mbt

      - uses: LanguageMachines/ticcactions/setup-cppcheck@v1
      - name: Static Code-check
        if: ${{ env.action_status == '' }}
        run: cppcheck ${{ env.cpc_opts }} .

      - uses: LanguageMachines/ticcactions/cpp-safe-build@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 }}