MSSQLSpatial Fix BCP performance problem (#9112) #38
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: MacOS build | |
on: | |
push: | |
paths-ignore: | |
- 'doc/**' | |
branches-ignore: | |
- 'backport**' | |
pull_request: | |
paths-ignore: | |
- 'doc/**' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read # to fetch code (actions/checkout) | |
jobs: | |
macos_build: | |
# FIXME: Python tests fail with "ModuleNotFoundError: No module named '_gdal'" with macos-12 | |
runs-on: macos-11 | |
if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]')" | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- uses: conda-incubator/setup-miniconda@11b562958363ec5770fef326fe8ef0366f8cbf8a # v3.0.1 | |
with: | |
channels: conda-forge | |
auto-update-conda: true | |
- name: Install Requirements | |
shell: bash -l {0} | |
run: | | |
source ./ci/travis/osx/before_install.sh | |
- name: Build | |
shell: bash -l {0} | |
run: | | |
source ./ci/travis/osx/install.sh | |
- name: Run tests | |
shell: bash -l {0} | |
run: | | |
source ./ci/travis/osx/script.sh | |
env: | |
# Emulate a few Travis-CI env variable so that some tests get properly skipped | |
TRAVIS: true | |
TRAVIS_OS_NAME: osx | |
BUILD_NAME: macos_build_conda |