Skip to content

Commit

Permalink
Migrate to Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
hefloryd committed Feb 17, 2021
1 parent f3a3a69 commit 88a74ab
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 20 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: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true

- name: Install dependencies
run: sudo apt-get install doxygen

- 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 --target all docs install -j4
- name: Test
shell: bash
run: |
cmake --build ${{github.workspace}}/build --target check
19 changes: 0 additions & 19 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
c-open: CANopen stack
=====================
[![Build Status](https://travis-ci.org/rtlabs-com/c-open.svg?branch=master)](https://travis-ci.org/rtlabs-com/c-open)
[![Build Status](https://github.com/rtlabs-com/c-open/workflows/build/badge.svg?branch=master)](https://github.com/rtlabs-com/c-open/actions?workflow=build)

This repository contains a CANopen stack for both master and
slaves. The stack implements most of CiA 301 and 305 (LSS). The stack
Expand Down

0 comments on commit 88a74ab

Please # to comment.