Skip to content

Commit b3d12ac

Browse files
Add github actions
1 parent 945e884 commit b3d12ac

File tree

2 files changed

+28
-2
lines changed

2 files changed

+28
-2
lines changed

.github/workflows/main.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: main
2+
on: [push, pull_request]
3+
jobs:
4+
build:
5+
runs-on: ${{ matrix.os }}
6+
strategy:
7+
matrix:
8+
os: [ubuntu-latest, windows-latest, macos-latest]
9+
steps:
10+
- uses: actions/checkout@v2
11+
with:
12+
submodules: recursive
13+
- name: install Boost on Ubuntu
14+
if: matrix.os == 'ubuntu-latest'
15+
run: sudo apt-get install libboost-all-dev
16+
- name: Set Boost on Windows
17+
if: matrix.os == 'windows-latest'
18+
run: echo "::set-env name=BOOST_ROOT::$env:BOOST_ROOT_1_72_0"
19+
- name: install Boost on MacOS
20+
if: matrix.os == 'macos-latest'
21+
run: brew install boost
22+
- name: configure
23+
run: cmake -Bbuild -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON
24+
- name: build
25+
run: cmake --build build
26+
- name: test
27+
run: cd build && ctest -VV

ReadMe.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
# mFAST [![Build Status](https://travis-ci.org/objectcomputing/mFAST.svg?branch=master)](https://travis-ci.org/objectcomputing/mFAST)[![Build status](https://ci.appveyor.com/api/projects/status/0rkg9d8ey6kidmrd?svg=true)](https://ci.appveyor.com/project/huangminghuang/mfast)
2-
1+
# mFAST [![Actions Status](https://github.com/objectcomputing/mFAST/workflows/main/badge.svg)](https://github.com/objectcomputing/mFAST/actions)
32

43
### Introduction
54

0 commit comments

Comments
 (0)