Skip to content

Switch back to std::string in patch to fix a use-after-free #1

Switch back to std::string in patch to fix a use-after-free

Switch back to std::string in patch to fix a use-after-free #1

Workflow file for this run

name: CI
on:
workflow_dispatch:
push:
branches:
- srcwr
workflow_call:
inputs:
release:
type: boolean
required: true
default: false
jobs:
cache:
uses: ./.github/workflows/cache.yml
build-options:
runs-on: ubuntu-latest
outputs:
exclude: ${{ steps.set.outputs.exclude }}
steps:
- id: set
run: |
echo "exclude=[${{ inputs.release && '{"runners": { "upload": false } }' || '' }}]" >> $GITHUB_OUTPUT
build:
name: Build
needs: [ cache, build-options ]
strategy:
fail-fast: false
matrix:
runners: [
{ os: ubuntu-22.04, cc: clang, cxx: clang++, upload: true, upload-artifact-name: accelerator_linux },
{ os: ubuntu-latest, cc: clang, cxx: clang++, upload: false },
]
exclude: ${{ fromJson(needs.build-options.outputs.exclude) }}
uses: ./.github/workflows/build-extension.yml
with:
os: ${{ matrix.runners.os }}
cc: ${{ matrix.runners.cc }}
cxx: ${{ matrix.runners.cxx }}
upload: ${{ matrix.runners.upload }}
upload-artifact-name: ${{ matrix.runners.upload-artifact-name }}
cache-key: ${{ needs.cache.outputs.key }}
cache-dir: ${{ needs.cache.outputs.dir }}