2019-12-16 22:17:25 -07:00
|
|
|
name: smoke
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
pull_request:
|
2020-03-02 14:21:19 -07:00
|
|
|
paths:
|
|
|
|
- '.github/workflows/smoke**'
|
|
|
|
- '**Makefile'
|
|
|
|
- '**.go'
|
|
|
|
- '**.proto'
|
|
|
|
- 'go.mod'
|
|
|
|
- 'go.sum'
|
2019-12-16 22:17:25 -07:00
|
|
|
jobs:
|
|
|
|
|
|
|
|
smoke:
|
2020-06-26 11:46:51 -06:00
|
|
|
name: Run multi node smoke test
|
2019-12-16 22:17:25 -07:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
|
2023-05-23 11:24:33 -06:00
|
|
|
- uses: actions/checkout@v3
|
2019-12-16 22:17:25 -07:00
|
|
|
|
2023-05-23 11:24:33 -06:00
|
|
|
- uses: actions/setup-go@v4
|
2020-03-02 14:21:19 -07:00
|
|
|
with:
|
2023-05-23 11:24:33 -06:00
|
|
|
go-version-file: 'go.mod'
|
|
|
|
check-latest: true
|
2020-03-02 14:21:19 -07:00
|
|
|
|
2019-12-16 22:17:25 -07:00
|
|
|
- name: build
|
2021-03-01 09:15:15 -07:00
|
|
|
run: make bin-docker
|
2019-12-16 22:17:25 -07:00
|
|
|
|
|
|
|
- name: setup docker image
|
|
|
|
working-directory: ./.github/workflows/smoke
|
|
|
|
run: ./build.sh
|
|
|
|
|
|
|
|
- name: run smoke
|
|
|
|
working-directory: ./.github/workflows/smoke
|
|
|
|
run: ./smoke.sh
|
|
|
|
|
2022-06-21 12:35:23 -06:00
|
|
|
- name: setup relay docker image
|
|
|
|
working-directory: ./.github/workflows/smoke
|
|
|
|
run: ./build-relay.sh
|
|
|
|
|
|
|
|
- name: run smoke relay
|
|
|
|
working-directory: ./.github/workflows/smoke
|
|
|
|
run: ./smoke-relay.sh
|
|
|
|
|
2023-05-04 15:50:23 -06:00
|
|
|
- name: setup docker image for P256
|
|
|
|
working-directory: ./.github/workflows/smoke
|
|
|
|
run: NAME="smoke-p256" CURVE=P256 ./build.sh
|
|
|
|
|
|
|
|
- name: run smoke-p256
|
|
|
|
working-directory: ./.github/workflows/smoke
|
|
|
|
run: NAME="smoke-p256" ./smoke.sh
|
|
|
|
|
2019-12-16 22:17:25 -07:00
|
|
|
timeout-minutes: 10
|