mirror of
https://github.com/openziti/ziti.git
synced 2026-10-12 07:18:36 +00:00
run quickstart automated as step in linux-build job
This commit is contained in:
@@ -126,6 +126,11 @@ jobs:
|
||||
CC=arm-linux-gnueabihf-gcc $(go env GOPATH)/bin/gox -cgo -os=linux -arch=arm -output=$GOX_OUTPUT ./...
|
||||
CC=aarch64-linux-gnu-gcc $(go env GOPATH)/bin/gox -cgo -os=linux -arch=arm64 -output=$GOX_OUTPUT ./...
|
||||
|
||||
- name: Run Go Quickstart Test
|
||||
timeout-minutes: 5
|
||||
run: |
|
||||
go test -v -tags "quickstart automated" ./ziti/cmd/edge/...;
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
@@ -137,7 +142,6 @@ jobs:
|
||||
name: Fablab Smoketest
|
||||
# not applicable to forks. shouldn't run on release build
|
||||
if: github.repository_owner == 'openziti' && github.ref != 'refs/heads/main'
|
||||
needs: [ quickstart ]
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Git Checkout
|
||||
@@ -233,18 +237,6 @@ jobs:
|
||||
echo "WARN: No instance archive found for simple-transfer-${GITHUB_RUN_NUMBER}.tar.gz.gpg" >&2
|
||||
fi
|
||||
|
||||
quickstart:
|
||||
name: Run the Go Quickstart
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Git Shallow Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Run Go Quickstart Test
|
||||
timeout-minutes: 5
|
||||
run: |
|
||||
go test -v -tags "quickstart automated" ./ziti/cmd/edge/...;
|
||||
|
||||
publish:
|
||||
name: Publish Binaries
|
||||
# - always() allows evaluating further conditional expressions even if
|
||||
|
||||
Reference in New Issue
Block a user