File: main.yml

package info (click to toggle)
bedops 2.4.41%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 21,168 kB
  • sloc: ansic: 28,562; cpp: 15,359; sh: 2,704; makefile: 2,687; xml: 1,669; python: 1,581; csh: 823; perl: 365; java: 172
file content (43 lines) | stat: -rw-r--r-- 901 bytes parent folder | download | duplicates (3)
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
name: BEDOPS CI

on: [push, pull_request]

jobs:

  build:

    name: Build and test BEDOPS suite

    runs-on: ${{ matrix.os }}

    strategy:
      matrix:
        os : [ubuntu-latest, macos-10.15]

    steps:
      - name: Checkout
        uses: actions/checkout@v2

      - name: Ubuntu-specific setup
        if: matrix.os == 'ubuntu-latest'
        run: |
          sudo apt-get install -qq gcc-9 g++-9
          sudo update-alternatives \
            --install /usr/bin/gcc gcc /usr/bin/gcc-9 100
          sudo update-alternatives \
            --install /usr/bin/g++ g++ /usr/bin/g++-9 100

      - name: Mac OS X-specific setup
        if: matrix.os == 'macos-10.15'
        env:
          CC: clang
          CXX: clang++
          KERNEL: Darwin
        run: |
          env

      - name: Build binaries
        run: make all

      - name: Install binaries
        run: make install_all