Skip to content

process CA bundle event #3158

process CA bundle event

process CA bundle event #3158

Workflow file for this run

name: CI build
on:
pull_request:
branches: [ main ]
workflow_dispatch:
workflow_call:
# 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:
build:
runs-on: ${{ matrix.os }}
container: ${{ matrix.container }}
name: build ${{ matrix.preset }}
env: {}
strategy:
fail-fast: false
matrix:
include:
- os: macOS-11
name: macOS x86_64
preset: macOS-x64
- os: macOS-11
name: macOS arm64
preset: macOS-arm64
- os: windows-latest
name: Windows x86_64
preset: windows-x64
- os: windows-latest
name: Windows arm64
preset: windows-arm64
- os: ubuntu-20.04
container: openziti/ziti-builder:1.0.3
name: Linux x86_64
preset: linux-x64
- os: ubuntu-20.04
container: openziti/ziti-builder:1.0.3
name: Linux arm
preset: linux-arm
- os: ubuntu-20.04
container: openziti/ziti-builder:1.0.3
name: Linux arm64
preset: linux-arm64
steps:
# only focal-20.04 has >= 2.18, which is required by actions/checkout to clone
# which enables cmake version discovery. remove this step when openziti:ziti-builder
# is upgraded to a version that contains git 2.18+
- name: install contemporary Git if using ziti-builder
if: ${{ startsWith(matrix.container, 'openziti/ziti-builder') }}
run: |
apt -y update
apt-get -y install software-properties-common
add-apt-repository -y ppa:git-core/ppa
apt -y update
apt -y install git
git --version
- name: checkout workspace
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Run CMake Composite Action
uses: ./.github/actions/build
with:
preset: ${{ matrix.preset }}
target: bundle
- name: list bundle artifacts
run: ls -R
working-directory: ./build/bundle/
- name: list program artifacts
run: ls -R
working-directory: ./build/programs/ziti-edge-tunnel/
- name: upload bundle artifacts
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.preset }}
path: |
./build/bundle/ziti-edge-tunnel-*.zip
if-no-files-found: error