Tidy sanitizers' suppressions list and fix some mem leaks (#438) #31
This file contains hidden or 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: Build and Test | |
| on: | |
| pull_request: | |
| paths-ignore: | |
| - contrib/pg_tde/documentation/** | |
| push: | |
| branches: | |
| - TDE_REL_17_STABLE | |
| - release-[0-9]+.[0-9]+* | |
| paths-ignore: | |
| - contrib/pg_tde/documentation/** | |
| workflow_dispatch: | |
| jobs: | |
| main: | |
| name: Main matrix | |
| strategy: | |
| matrix: | |
| os: [ubuntu-24.04] | |
| compiler: [gcc, clang] | |
| build_type: [debugoptimized] | |
| build_script: [make, meson] | |
| uses: ./.github/workflows/build-and-test.yml | |
| with: | |
| os: ${{ matrix.os }} | |
| compiler: ${{ matrix.compiler }} | |
| build_type: ${{ matrix.build_type }} | |
| build_script: ${{ matrix.build_script }} | |
| secrets: inherit | |
| arm: | |
| name: ARM matrix | |
| if: github.event_name != 'pull_request' | |
| strategy: | |
| matrix: | |
| os: [ubuntu-24.04-arm] | |
| compiler: [gcc, clang] | |
| build_type: [debugoptimized] | |
| build_script: [make, meson] | |
| uses: ./.github/workflows/build-and-test.yml | |
| with: | |
| os: ${{ matrix.os }} | |
| compiler: ${{ matrix.compiler }} | |
| build_type: ${{ matrix.build_type }} | |
| build_script: ${{ matrix.build_script }} | |
| secrets: inherit | |
| slack-notification: | |
| if: failure() && github.event_name == 'push' | |
| needs: [ main, arm ] | |
| name: Slack Notification | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Notify | |
| uses: slackapi/[email protected] | |
| with: | |
| webhook: ${{ secrets.SLACK_WEBHOOK_URL }} | |
| webhook-type: incoming-webhook | |
| payload: | | |
| blocks: | |
| - type: "section" | |
| text: | |
| type: "mrkdwn" | |
| text: "Workflow *${{ github.workflow }}* failed on branch *${{ github.ref_name }}*\n | |
| Commit: <${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }}|${{ github.sha }}>\n | |
| \n | |
| <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|View logs>" |