-
Notifications
You must be signed in to change notification settings - Fork 16
52 lines (46 loc) · 1.29 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Main Test Workflow
on:
workflow_dispatch:
push:
branches:
- main
- release-v*
pull_request:
branches:
- main
- release-v*
# cancel older, redundant runs of same workflow on same branch
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
cancel-in-progress: true
jobs:
call-cmake-build:
name: Call CMake Build
uses: ./.github/workflows/cmake.yml
docker-deployments:
needs: [ call-cmake-build ]
name: Exercise CMake Artifacts
runs-on: ubuntu-latest
steps:
- name: Full Checkout to Allow CMake to Find Version with Git
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Download CMake Artifacts
uses: actions/download-artifact@v4
with:
pattern: linux-x64
path: ./downloads
- name: Unpack CMake Artifacts
shell: bash
run: |
set -x
ls -horRAS ./downloads
mkdir -p ./build/amd64/linux/
unzip -d ./build/amd64/linux/ ./downloads/linux-x64/ziti-edge-tunnel-Linux_x86_64.zip
- name: Run the Compose Test Script
shell: bash
run: docker/docker.test.bash
env:
I_AM_ROBOT: 1
ZITI_EDGE_TUNNEL_BIN: ./build/amd64/linux/ziti-edge-tunnel