Skip to content

Commit

Permalink
Merge pull request OpenEtherCATsociety#480 from hefloryd/feature/gh-a…
Browse files Browse the repository at this point in the history
…ctions

Migrate to Github Actions
  • Loading branch information
nakarlsson authored Feb 17, 2021
2 parents 61668c7 + 44fa68a commit d548e99
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 27 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: build
on: [push, pull_request]
env:
BUILD_TYPE: Release
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-20.04
- ubuntu-18.04
- ubuntu-16.04
- macos-latest
- windows-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true

- name: Configure
shell: bash
run: |
cmake -E make_directory $GITHUB_WORKSPACE/build
cmake -B $GITHUB_WORKSPACE/build -S $GITHUB_WORKSPACE \
-DCMAKE_BUILD_TYPE=$BUILD_TYPE
- name: Build
shell: bash
run: |
cmake --build $GITHUB_WORKSPACE/build -j4 --target install
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
build*
build*/
install
*~
/doc/latex
Expand Down
14 changes: 0 additions & 14 deletions .travis.yml

This file was deleted.

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

BUILDING
========
Expand Down
10 changes: 0 additions & 10 deletions appveyor.yml

This file was deleted.

0 comments on commit d548e99

Please sign in to comment.