Unverified Commit cb6849c5 authored by Haowen Zhang's avatar Haowen Zhang Committed by GitHub
Browse files

Create ci.yml

parent 9cdfad4b
Loading
Loading
Loading
Loading
+23 −0
Original line number Diff line number Diff line
name: CI

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

jobs:
  build:

    runs-on: ubuntu-latest
    strategy:
      matrix:
        compiler: [g++, clang++]

    steps:
    - uses: actions/checkout@v2
    - name: Compile Chromap and run it
      run: |
        sudo apt-get update; sudo apt-get install -y clang libomp5 libomp-dev
        make cxx=${{ matrix.compiler }}
        ./chromap -h