Switch to github actions

This commit is contained in:
Mark VanderVoord
2021-01-16 21:13:55 -05:00
parent 4dd557f2df
commit 9f3cee70cd
2 changed files with 39 additions and 28 deletions
+39
View File
@@ -0,0 +1,39 @@
---
# Continuous Integration Workflow: Test case suite run + validation build check
name: CI
# Controls when the action will run.
# Triggers the workflow on push or pull request events but only for the master branch
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
# Job: Unit test suite
unit-tests:
name: "Unit Tests"
runs-on: ubuntu-latest
steps:
# Install Multilib
- name: Install Multilib
run: |
sudo apt-get install --assume-yes --quiet gcc-multilib
# Install Ruby Testing Tools
- name: Setup Ruby Testing Tools
run: |
sudo gem install bundler
sudo gem install rspec
sudo gem install rubocop -v 0.57.2
sudo bundle install
# Checks out repository under $GITHUB_WORKSPACE
- name: Checkout Latest Repo
uses: actions/checkout@v2
# Run Tests
- name: Run All Unit Tests
run: |
cd test && rake ci
-28
View File
@@ -1,28 +0,0 @@
sudo: required
language: ruby c
matrix:
include:
#- os: osx
# compiler: clang
# osx_image: xcode7.3
- os: linux
dist: trusty
rvm: "2.4"
compiler: gcc
- os: linux
dist: xenial
rvm: "2.7"
compiler: clang
before_install:
- sudo apt-get install --assume-yes --quiet gcc-multilib
install:
- gem install bundler
- bundle install
- gem install rspec
- gem install rubocop -v 0.57.2
script:
- cd test && rake ci