Skip to content

Commit

Permalink
Merge pull request #61 from lbcb-sci/build
Browse files Browse the repository at this point in the history
Update build
  • Loading branch information
rvaser authored Dec 19, 2021
2 parents b591b12 + e897d8b commit 1a12aff
Show file tree
Hide file tree
Showing 14 changed files with 369 additions and 274 deletions.
53 changes: 53 additions & 0 deletions .github/workflows/racon.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: racon CI

on:
push:
pull_request:
branches:
- master

env:
BUILD_TYPE: Release

jobs:
test:
strategy:
matrix:
compiler:
- g++
- g++-4.8
- clang++
- clang++-4.0

runs-on: ubuntu-18.04

steps:
- uses: actions/checkout@v2

- if: ${{ matrix.compiler == 'g++-4.8' }}
name: Setup GCC
uses: egor-tensin/setup-gcc@v1
with:
version: "4.8"
platform: x64

- if: ${{ matrix.compiler == 'clang++-4.0' }}
name: Setup Clang
uses: egor-tensin/setup-clang@v1
with:
version: "4.0"
platform: x64

- name: Configure CMake
run: cmake -B ${{ github.workspace }}/build -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }}
env:
CXX: ${{ matrix.compiler }}

- name: Build
run: cmake --build ${{ github.workspace }}/build --config ${{ env.BUILD_TYPE }}

- name: Test
working-directory: ${{ github.workspace }}/build
run: |
bin/racon --version
bin/racon_test
47 changes: 0 additions & 47 deletions .travis.yml

This file was deleted.

Loading

0 comments on commit 1a12aff

Please sign in to comment.