fix: segfaults with some compiler and flag combinations #240
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: 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 |