Skip to content

Commit 44fa68a

Browse files
committed
Migrate to Github Actions
1 parent 61668c7 commit 44fa68a

File tree

5 files changed

+33
-27
lines changed

5 files changed

+33
-27
lines changed

.github/workflows/build.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: build
2+
on: [push, pull_request]
3+
env:
4+
BUILD_TYPE: Release
5+
jobs:
6+
build:
7+
runs-on: ${{ matrix.os }}
8+
strategy:
9+
matrix:
10+
os:
11+
- ubuntu-20.04
12+
- ubuntu-18.04
13+
- ubuntu-16.04
14+
- macos-latest
15+
- windows-latest
16+
steps:
17+
- uses: actions/checkout@v2
18+
with:
19+
submodules: true
20+
21+
- name: Configure
22+
shell: bash
23+
run: |
24+
cmake -E make_directory $GITHUB_WORKSPACE/build
25+
cmake -B $GITHUB_WORKSPACE/build -S $GITHUB_WORKSPACE \
26+
-DCMAKE_BUILD_TYPE=$BUILD_TYPE
27+
28+
- name: Build
29+
shell: bash
30+
run: |
31+
cmake --build $GITHUB_WORKSPACE/build -j4 --target install

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
build*
1+
build*/
22
install
33
*~
44
/doc/latex

.travis.yml

-14
This file was deleted.

README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Simple Open EtherCAT Master Library
2-
[![Build Status](https://travis-ci.org/OpenEtherCATsociety/SOEM.svg?branch=master)](https://travis-ci.org/OpenEtherCATsociety/SOEM)
3-
[![Build status](https://ci.appveyor.com/api/projects/status/bqgirjsxog9k1odf?svg=true)](https://ci.appveyor.com/project/hefloryd/soem-5kq8b)
2+
[![Build Status](https://github.com/OpenEtherCATsociety/SOEM/workflows/build/badge.svg?branch=master)](https://github.com/OpenEtherCATsociety/SOEM/actions?workflow=build)
43

54
BUILDING
65
========

appveyor.yml

-10
This file was deleted.

0 commit comments

Comments
 (0)