copy all members of ziti_options #2071
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.11', test: 'true' } | |
- { name: 'Linux ARM', runner: 'ubuntu-20.04', target: 'linux-arm', builder: 'openziti/ziti-builder:1.0.11' } | |
- { name: 'Linux ARM64', runner: 'ubuntu-20.04', target: 'linux-arm64', builder: 'openziti/ziti-builder:1.0.11' } | |
- { 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-* |