goc/.github/e2e-linux.yml

37 lines
817 B
YAML
Raw Normal View History

2021-07-22 03:26:55 +00:00
name: e2e test
2021-06-22 09:43:46 +00:00
on:
# Trigger the workflow on push or pull request,
# but only for the master branch
push:
paths-ignore:
- '**.md'
- '**.png'
pull_request:
paths-ignore:
- '**.md'
- '**.png'
jobs:
job_1:
2021-07-22 11:57:56 +00:00
name: e2e test
2021-06-22 09:51:35 +00:00
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
2021-06-22 09:43:46 +00:00
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.22.x
2021-06-22 09:43:46 +00:00
- name: Checkout code
uses: actions/checkout@v2
- name: Go build
run: |
go build .
2021-07-22 11:57:56 +00:00
go install .
2021-06-22 09:43:46 +00:00
- name: Use goc to build self
run: |
2021-07-22 11:57:56 +00:00
./goc build -o ./gocc .
- name: run e2e test
run: |
go install github.com/onsi/ginkgo/ginkgo
2021-07-22 11:57:56 +00:00
make e2e