File: c-cpp.yml

package info (click to toggle)
libatomic-queue 0.0%2Bgit20220518.83774a2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 10,352 kB
  • sloc: cpp: 1,620; javascript: 353; makefile: 131; python: 82; ansic: 74; sh: 59
file content (23 lines) | stat: -rw-r--r-- 572 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
name: Ubuntu continuous integration

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

jobs:
  build:

    runs-on: ubuntu-18.04

    steps:
    - uses: actions/checkout@v2
    - name: Install Boost
      run: sudo apt-get --quiet --yes install libboost-test-dev
    - name: Environment variables
      run: make env; make TOOLSET=gcc versions; make TOOLSET=clang versions
    - name: Unit tests with gcc
      run: make -rj2 TOOLSET=gcc example run_tests
    - name: Unit tests with clang
      run: make -rj2 TOOLSET=clang example run_tests