Merge pull request #7162 from rouault/msProjectionContextGetFromPool_fix #444
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: Build | |
on: [push, pull_request] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- name: Regular, with coverage | |
WITH_ASAN: "false" | |
WITH_COVERAGE: "true" | |
- name: Address_sanitizer | |
WITH_ASAN: "true" | |
WITH_COVERAGE: "false" | |
name: ${{ matrix.name }} | |
steps: | |
- name: Checkout repository contents | |
uses: actions/checkout@v4 | |
- name: Build | |
run: | | |
docker run \ | |
-e WORK_DIR="$PWD" \ | |
-e WITH_ASAN="${{ matrix.WITH_ASAN }}" \ | |
-e WITH_COVERAGE="${{ matrix.WITH_COVERAGE }}" \ | |
-v $PWD:$PWD ubuntu:20.04 $PWD/.github/workflows/start.sh | |
- name: Coveralls | |
uses: coverallsapp/github-action@v2 | |
if: ${{ matrix.WITH_COVERAGE == 'true' }} | |
with: | |
format: lcov | |
file: mapserver.info |