mirror of https://github.com/q191201771/lal.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
586 B
YAML
34 lines
586 B
YAML
3 years ago
|
name: CI
|
||
3 years ago
|
|
||
3 years ago
|
on:
|
||
|
push:
|
||
|
pull_request:
|
||
|
schedule:
|
||
|
- cron: '30 16 * * 6'
|
||
3 years ago
|
|
||
|
jobs:
|
||
|
build:
|
||
3 years ago
|
strategy:
|
||
|
matrix:
|
||
3 years ago
|
go: [1.14, 1.17]
|
||
3 years ago
|
os: [ubuntu-latest, macos-latest]
|
||
3 years ago
|
runs-on: ${{ matrix.os }}
|
||
3 years ago
|
|
||
|
steps:
|
||
3 years ago
|
- name: Checkout code
|
||
3 years ago
|
uses: actions/checkout@v2
|
||
3 years ago
|
|
||
3 years ago
|
- name: Set up Go
|
||
3 years ago
|
uses: actions/setup-go@v2
|
||
3 years ago
|
with:
|
||
3 years ago
|
go-version: ${{ matrix.go }}
|
||
3 years ago
|
|
||
3 years ago
|
- name: Build
|
||
|
run: ./build.sh
|
||
3 years ago
|
|
||
3 years ago
|
- name: Test
|
||
|
run: ./test.sh
|
||
3 years ago
|
|
||
|
- name: Upload coverage to Codecov
|
||
|
run: bash <(curl -s https://codecov.io/bash)
|