-
Notifications
You must be signed in to change notification settings - Fork 1
57 lines (51 loc) · 1.51 KB
/
conda-build.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
56
57
name: Conda Build
on:
workflow_dispatch:
push:
branches:
- development
release:
types: ['released', 'prereleased']
schedule:
# Every Monday at 11PM UTC
- cron: "0 11 * * 1"
jobs:
build-linux:
name: CondaBuild (${{ matrix.python-version }}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
python-version: ["3.10"]
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: "Set SDK on MacOS (if needed)"
if: startsWith(matrix.os, 'macos')
run: build_tools/install_macos_sdk.sh
- name: Set up Conda
uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: ${{ matrix.python-version }}
miniforge-version: latest
channels: conda-forge,bioconda,tpeulen,defaults
channel-priority: true
env:
CONDA_SUBDIR: ${{ matrix.os == 'macos-latest' && 'osx-64' || '' }}
- name: Display Conda Settings
shell: bash -el {0}
run: |
conda info
conda list
conda config --show-sources
conda config --show
printenv | sort
- name: Build Conda Package
uses: aganders3/headless-gui@v1
with:
shell: bash -el {0}
run: |
conda install mamba conda-build boa anaconda-client
conda mambabuild conda-recipe