Skip to content

Instantly share code, notes, and snippets.

@ethomson
Last active December 20, 2019 01:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ethomson/9add864c916083aaf0c0d3b0bd092351 to your computer and use it in GitHub Desktop.
Save ethomson/9add864c916083aaf0c0d3b0bd092351 to your computer and use it in GitHub Desktop.
name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Build
run: make testapp
- uses: actions/upload-artifact@v1
with:
name: tests
path: testapp
test:
needs: build
strategy:
matrix:
container: ['ubuntu:20.04', 'debian:buster', 'centos:8', 'alpine:3']
runs-on: ubuntu-latest
container: ${{matrix.container}}
steps:
- uses: actions/download-artifact@v1
with:
name: tests
- name: Run Tests
run: chmod 0755 tests/testapp && tests/testapp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment