mapnik/.github/workflows/build_test.yml

137 lines
3.9 KiB
YAML
Raw Normal View History

name: Build and Test
on:
push:
branches:
- "master"
pull_request:
branches-ignore:
- "no-ci-*"
jobs:
2022-08-11 20:56:08 +02:00
checkSource:
name: Check Source Code
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- uses: pre-commit/action@v3.0.0
windows:
2022-08-11 20:56:08 +02:00
needs: checkSource
name: Windows memory mapped
uses: ./.github/workflows/windows.yml
with:
VCPKG_SHA: f6af75acc923c833a5620943e3fc7d5e4930f0df
NUGET_REGISTRY: https://nuget.pkg.github.com/mapnik/index.json
NUGET_USERNAME: mapnik
USE_MEMORY_MAPPED_FILE: 'ON'
2022-04-16 11:26:34 +02:00
BUILD_SHARED: true
secrets:
2022-02-02 15:31:24 +01:00
NUGET_REGISTRY_PAT: ${{ secrets.VCPKG_CACHE_PAT }}
2022-08-11 20:56:08 +02:00
windows-mmf-off:
2022-08-11 20:56:08 +02:00
needs: checkSource
name: Windows file based
uses: ./.github/workflows/windows.yml
with:
VCPKG_SHA: f6af75acc923c833a5620943e3fc7d5e4930f0df
NUGET_REGISTRY: https://nuget.pkg.github.com/mapnik/index.json
NUGET_USERNAME: mapnik
USE_MEMORY_MAPPED_FILE: 'OFF'
2022-04-16 11:26:34 +02:00
BUILD_SHARED: true
secrets:
NUGET_REGISTRY_PAT: ${{ secrets.VCPKG_CACHE_PAT }}
windows-static:
2022-08-17 17:37:43 +02:00
needs: checkSource
2022-04-16 11:26:34 +02:00
name: Windows static
uses: ./.github/workflows/windows.yml
with:
VCPKG_SHA: f6af75acc923c833a5620943e3fc7d5e4930f0df
NUGET_REGISTRY: https://nuget.pkg.github.com/mapnik/index.json
NUGET_USERNAME: mapnik
USE_MEMORY_MAPPED_FILE: 'ON'
BUILD_SHARED: false
secrets:
2022-02-02 15:31:24 +01:00
NUGET_REGISTRY_PAT: ${{ secrets.VCPKG_CACHE_PAT }}
ubuntu:
2022-08-11 20:56:08 +02:00
needs: checkSource
name: Linux memory mapped
uses: ./.github/workflows/ubuntu.yml
with:
VCPKG_SHA: f6af75acc923c833a5620943e3fc7d5e4930f0df
NUGET_REGISTRY: https://nuget.pkg.github.com/mapnik/index.json
NUGET_USERNAME: mapnik
USE_MEMORY_MAPPED_FILE: 'ON'
2022-04-16 11:26:34 +02:00
BUILD_SHARED: true
secrets:
2022-02-02 15:31:24 +01:00
NUGET_REGISTRY_PAT: ${{ secrets.VCPKG_CACHE_PAT }}
ubuntu-mmf-off:
2022-08-11 20:56:08 +02:00
needs: checkSource
name: Linux file based
uses: ./.github/workflows/ubuntu.yml
with:
VCPKG_SHA: f6af75acc923c833a5620943e3fc7d5e4930f0df
NUGET_REGISTRY: https://nuget.pkg.github.com/mapnik/index.json
NUGET_USERNAME: mapnik
USE_MEMORY_MAPPED_FILE: 'OFF'
2022-04-16 11:26:34 +02:00
BUILD_SHARED: true
secrets:
NUGET_REGISTRY_PAT: ${{ secrets.VCPKG_CACHE_PAT }}
ubuntu-static:
2022-08-17 17:37:43 +02:00
needs: checkSource
2022-04-16 11:26:34 +02:00
name: Linux static
uses: ./.github/workflows/ubuntu.yml
with:
VCPKG_SHA: f6af75acc923c833a5620943e3fc7d5e4930f0df
NUGET_REGISTRY: https://nuget.pkg.github.com/mapnik/index.json
NUGET_USERNAME: mapnik
USE_MEMORY_MAPPED_FILE: 'ON'
BUILD_SHARED: false
secrets:
2022-02-02 15:31:24 +01:00
NUGET_REGISTRY_PAT: ${{ secrets.VCPKG_CACHE_PAT }}
macos:
2022-08-11 20:56:08 +02:00
needs: checkSource
name: MacOS memory mapped
uses: ./.github/workflows/macos.yml
with:
VCPKG_SHA: f6af75acc923c833a5620943e3fc7d5e4930f0df
NUGET_REGISTRY: https://nuget.pkg.github.com/mapnik/index.json
NUGET_USERNAME: mapnik
USE_MEMORY_MAPPED_FILE: 'ON'
2022-04-16 11:26:34 +02:00
BUILD_SHARED: true
secrets:
2022-02-02 15:31:24 +01:00
NUGET_REGISTRY_PAT: ${{ secrets.VCPKG_CACHE_PAT }}
macos-mmf-off:
2022-08-11 20:56:08 +02:00
needs: checkSource
name: MacOS file based
uses: ./.github/workflows/macos.yml
with:
VCPKG_SHA: f6af75acc923c833a5620943e3fc7d5e4930f0df
NUGET_REGISTRY: https://nuget.pkg.github.com/mapnik/index.json
NUGET_USERNAME: mapnik
USE_MEMORY_MAPPED_FILE: 'OFF'
2022-04-16 11:26:34 +02:00
BUILD_SHARED: true
secrets:
NUGET_REGISTRY_PAT: ${{ secrets.VCPKG_CACHE_PAT }}
macos-static:
2022-08-17 17:37:43 +02:00
needs: checkSource
2022-04-16 11:26:34 +02:00
name: MacOS static
uses: ./.github/workflows/macos.yml
with:
VCPKG_SHA: f6af75acc923c833a5620943e3fc7d5e4930f0df
NUGET_REGISTRY: https://nuget.pkg.github.com/mapnik/index.json
NUGET_USERNAME: mapnik
USE_MEMORY_MAPPED_FILE: 'ON'
BUILD_SHARED: false
secrets:
2022-02-02 15:31:24 +01:00
NUGET_REGISTRY_PAT: ${{ secrets.VCPKG_CACHE_PAT }}