Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changes again #10

Merged
merged 4 commits into from
Nov 29, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 33 additions & 26 deletions .github/workflows/callable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,26 @@
# under the assumption that if the "smoke tests" fail, then the other configurations will likely fail in the same way.
# However, stage 3 does not fail fast, as it's more likely that any one job failing is a flake or a configuration-specific
#
name: Build and Test libc++

on:
workflow_dispatch:
inputs:
llvm_ref:
description: 'llvm ref'
required: true
type: str
run_stages:
type: string
run_stage1:
description: 'Stages to run'
required: true
default: [1, 2, 3]
required: false
default: true
run_stage2:
description: 'stage 2 run'
required: false
default: true
run_stage3:
description: 'stage 3 run'
required: false
default: false



Expand All @@ -44,7 +52,7 @@ env:

jobs:
stage1:
if: ${{ contains(inputs.run_stages, 1) }}
if: ${{ inputs.run_stage1 }}
runs-on: rizzo-runner-64-set
continue-on-error: false
strategy:
Expand All @@ -55,7 +63,7 @@ jobs:
'generic-cxx26',
'generic-modules'
]
cc: [ 'clang-18' ]
cc: [ 'clang-18' ]
cxx: [ 'clang++-18' ]
clang_tidy: [ 'ON' ]
include:
Expand Down Expand Up @@ -85,7 +93,7 @@ jobs:
**/CMakeOutput.log
**/crash_diagnostics/*
stage2:
if: ${{ contains(github.event.inputs.run_stages, 2) }}
if: ${{ inputs.run_stage1 }} && ${{ inputs.run_stage2 }}
runs-on: rizzo-runner-64-set
needs: [ stage1 ]
continue-on-error: false
Expand Down Expand Up @@ -134,7 +142,7 @@ jobs:
**/CMakeOutput.log
**/crash_diagnostics/*
stage3:
if: ${{ contains(github.event.inputs.run_stages, 3) }}
if: inputs.run_stage3
needs: [ stage1, stage2 ]
continue-on-error: false
strategy:
Expand Down Expand Up @@ -164,22 +172,22 @@ jobs:
machine: [ 'libcxx-runners-8' ]
std_modules: [ 'OFF' ]
include:
- config: 'generic-cxx26'
machine: libcxx-runners-8
std_modules: 'ON'
- config: 'generic-asan'
machine: libcxx-runners-8
std_modules: 'OFF'
- config: 'generic-tsan'
machine: libcxx-runners-8
std_modules: 'OFF'
- config: 'generic-ubsan'
machine: libcxx-runners-8
std_modules: 'OFF'
# Use a larger machine for MSAN to avoid timeout and memory allocation issues.
- config: 'generic-msan'
machine: libcxx-runners-32
std_modules: 'OFF'
- config: 'generic-cxx26'
machine: libcxx-runners-8
std_modules: 'ON'
- config: 'generic-asan'
machine: libcxx-runners-8
std_modules: 'OFF'
- config: 'generic-tsan'
machine: libcxx-runners-8
std_modules: 'OFF'
- config: 'generic-ubsan'
machine: libcxx-runners-8
std_modules: 'OFF'
# Use a larger machine for MSAN to avoid timeout and memory allocation issues.
- config: 'generic-msan'
machine: libcxx-runners-32
std_modules: 'OFF'
runs-on: rizzo-runner-64-set
steps:
- uses: actions/checkout@v4
Expand All @@ -200,4 +208,3 @@ jobs:
**/CMakeError.log
**/CMakeOutput.log
**/crash_diagnostics/*

Loading