File: c-cpp.yml

package info (click to toggle)
librtpi 1.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 524 kB
  • sloc: ansic: 3,463; cpp: 1,121; makefile: 62; sh: 40
file content (30 lines) | stat: -rw-r--r-- 605 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
name: C/C++ CI

on:
  push:
    branches: [ "main", "test", "1.0" ]
  pull_request:
    branches: [ "main", "test", "1.0" ]

jobs:
  test:

    runs-on: ubuntu-latest

    steps:
      - name: checkout
        uses: actions/checkout@v4
      - name: autoreconf
        run: autoreconf --install
      - name: configure
        run: ./configure
      - name: make
        run: make
      - name: make check
        run: make check
      - name: upload logs
        if: ${{ failure() }}
        uses: actions/upload-artifact@v4
        with:
          name: librtpi_test_logs
          path: tests/**/*.log