Skip to content

Instantly share code, notes, and snippets.

@ethomson
Created December 17, 2019 23:13
Show Gist options
  • Save ethomson/11febc97d2b41187f5cbb8ddaf9bfdce to your computer and use it in GitHub Desktop.
Save ethomson/11febc97d2b41187f5cbb8ddaf9bfdce to your computer and use it in GitHub Desktop.
name: CI
on: [push]
jobs:
setup:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: ./setup_test_infrastructure.sh
build:
needs: setup
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v1
- run: |
./build.sh
./test.sh
shell: bash
shutdown:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: ./shutdown_test_infrastructure.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment