forked from OSGeo/gdal
-
Notifications
You must be signed in to change notification settings - Fork 4
55 lines (45 loc) · 1.3 KB
/
macos.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: MacOS build
on:
push:
paths-ignore:
- 'doc/**'
- 'docker/**'
branches-ignore:
- 'backport**'
- 'dependabot**'
pull_request:
paths-ignore:
- 'doc/**'
- 'docker/**'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
macos_build:
# Arm64
runs-on: macos-14
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: conda-incubator/setup-miniconda@a4260408e20b96e80095f42ff7f1a15b27dd94ca # v3.0.4
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