MacOS C++ make-specs #832
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: MacOS C++ make-specs | |
'on': | |
workflow_dispatch: | |
inputs: | |
extra_resolve_options: | |
description: Extra Resolve Options | |
required: false | |
schedule: | |
- cron: 0 1 * * * | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
MacOS-mkspecs: | |
timeout-minutes: 45 | |
strategy: | |
fail-fast: false | |
matrix: | |
config: | |
- arch: ARM64 | |
os: big_sur | |
name: Apple Big Sur (ARM) | |
runs-on: [self-hosted, macOS, "${{ matrix.config.os }}", "${{ matrix.config.arch }}", builder] | |
name: ${{ matrix.config.name }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Clang Version | |
run: clang --version | |
- name: Configure | |
env: | |
GIT_SSH_COMMAND: "ssh" | |
EXTRA_RESOLVE_OPTIONS: ${{ inputs.extra_resolve_options }} | |
uses: nick-fields/retry@v2 | |
with: | |
max_attempts: 3 | |
timeout_minutes: 15 | |
command: python3 waf configure --git_protocol=git@ ${{ env.EXTRA_RESOLVE_OPTIONS }} | |
- name: Build | |
run: | | |
echo "::add-matcher::.github/gcc-problem-matcher.json" | |
python3 waf | |
- name: Test | |
run: echo ${{ secrets.MACOS_RUNNER_PASS }} | sudo -S ./build_current/tunnel_tests | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref || github.run_id }} | |
cancel-in-progress: true |