Skip to content

add hostname and domain to EvnInfo #2019

add hostname and domain to EvnInfo

add hostname and domain to EvnInfo #2019

Workflow file for this run

name: C/C++ CI
on:
workflow_dispatch:
pull_request:
branches: [ main ]
jobs:
build:
name: ${{ matrix.spec.name }}
runs-on: ${{ matrix.spec.runner }}
container:
image: ${{ matrix.spec.builder }}
env:
BUILD_NUMBER: ${{ github.run_number }}
strategy:
fail-fast: false
matrix:
spec:
- { name: 'Linux x86_64', runner: 'ubuntu-20.04', target: 'linux-x64', builder: 'openziti/ziti-builder:1.0.7', test: 'true' }
- { name: 'Linux ARM', runner: 'ubuntu-20.04', target: 'linux-arm', builder: 'openziti/ziti-builder:1.0.7' }
- { name: 'Linux ARM64', runner: 'ubuntu-20.04', target: 'linux-arm64', builder: 'openziti/ziti-builder:1.0.7' }
- { name: 'MacOS x86_64', runner: 'macOS-11', target: 'macOS-x64', test: 'true' }
- { name: 'MacOS arm64', runner: 'macOS-11', target: 'macOS-arm64' }
- { name: 'Windows x86_64', runner: 'windows-2022', target: 'windows-x64', test: 'true' }
- { name: 'Windows ARM64', runner: 'windows-2022', target: 'windows-arm64' }
steps:
- name: Add msbuild to PATH
if: startsWith(matrix.spec.runner, 'windows')
uses: microsoft/[email protected]
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: run build for ${{ matrix.spec.target }}
uses: ./.github/actions/build
with:
target: ${{ matrix.spec.target }}
test: ${{ matrix.spec.test }}
test_id: ${{ secrets.ZITI_TEST_IDENTITY }}
- name: upload artifacts
uses: actions/upload-artifact@v3
with:
name: ziti-prox-c-${{ matrix.spec.target }}
path: ./build/programs/ziti-prox-c/**/ziti-prox-c*.zip
- name: upload SDK artifacts
uses: actions/upload-artifact@v3
with:
name: ziti-sdk-${{ matrix.spec.target }}
path: ./build/package/ziti-sdk-*