File: c-cpp.yml

package info (click to toggle)
eclib 20250122-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 5,916 kB
  • sloc: cpp: 45,414; makefile: 272; sh: 127
file content (31 lines) | stat: -rw-r--r-- 604 bytes parent folder | download | duplicates (2)
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
name: C/C++ CI

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  build:

    runs-on: ubuntu-latest

    strategy:
      matrix:
        cc: [gcc, clang]
        mpfp: [enable-mpfp]

    steps:
    - uses: actions/checkout@v4
    - name: configure
      run: |
        sudo apt-get install libpari-dev pari-gp2c libntl-dev libflint-dev
        ./autogen.sh
        ./configure --with-boost="no" --with-flint --disable-allprogs --${{ matrix.mpfp }}
      env:
        CC: ${{ matrix.cc }}
    - name: make
      run: make
    - name: make check
      run: make check