Skip to content

CI: add support for Conda osx_arm64 builds #12

CI: add support for Conda osx_arm64 builds

CI: add support for Conda osx_arm64 builds #12

Workflow file for this run

name: OSX
on:
push:
paths-ignore:
- 'doc/**'
pull_request:
paths-ignore:
- 'doc/**'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
build:
name: OSX
runs-on: ${{ matrix.platform }}
if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]')"
strategy:
fail-fast: true
matrix:
type: ['floating']
platform: ['macos-latest', 'macOS-14']
env:
BUILD_TYPE: ${{ matrix.type }}
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v4
- uses: mamba-org/setup-micromamba@v1
with:
init-shell: bash
environment-file: scripts/ci/environment.yml
environment-name: "pdal-build"
cache-environment: true
cache-downloads: true
- name: Setup
run: |
source ./scripts/ci/osx/setup.sh
- name: CMake
run: |
source ../scripts/ci/osx/cmake.sh
working-directory: ./build
- name: Compile
run: |
source ../scripts/ci/osx/compile.sh
working-directory: ./build
- name: Test
run: |
source ../scripts/ci/osx/test.sh
working-directory: ./build
- name: Examples
run: |
source ./scripts/ci/osx/examples.sh