Skip to content

Commit

Permalink
add config for github actions
Browse files Browse the repository at this point in the history
only ubuntu 20.04 and 18.04 for now
don't add ubuntu 16.04 since github actions has no nodes available for it apparently
  • Loading branch information
pepper-jk committed Feb 8, 2022
1 parent 77f51c0 commit dc6d1f5
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# This is a basic workflow to help you get started with Actions

name: CI

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
pull_request:
branches: [ master ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
linux:
# The type of runner that the job will run on
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ubuntu-latest, ubuntu-18.04]

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

- name: Install Dependencies
run: ./resources/install_dependencies.sh

- name: Build ID2T
run: ./build.sh --non-interactive

- name: Run Tests
run: ./run_tests

0 comments on commit dc6d1f5

Please sign in to comment.