Skip to content

fix: segfaults with some compiler and flag combinations #240

fix: segfaults with some compiler and flag combinations

fix: segfaults with some compiler and flag combinations #240

Workflow file for this run

name: CI
on:
push:
paths-ignore: ['**/*.md']
pull_request:
paths-ignore: ['**/*.md']
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
debounce:
runs-on: ubuntu-latest
env:
GH_TOKEN: ${{ github.token }}
outputs:
abort: ${{ steps.debounce.outputs.abort }}
steps:
- run: printenv
- name: Debounce
if: github.ref_name != 'main' && github.event_name == 'push'
id: debounce
run: |
pr_branches=$(gh pr list --json headRefName --repo $GITHUB_REPOSITORY)
if [[ "$pr_branches" != '[]' && $(echo "$pr_branches" | jq -r --arg GITHUB_REF_NAME '.[].headRefName | select(. == $GITHUB_REF_NAME)') ]]; then
echo "This push is associated with a pull request. Skipping the job."
echo "abort=true" >> "$GITHUB_OUTPUT"
fi
linux:
needs: debounce
if: needs.debounce.outputs.abort != 'true'
uses: ./.github/workflows/linux.yml
macos:
needs: debounce
if: needs.debounce.outputs.abort != 'true'
uses: ./.github/workflows/macos.yml