-
Notifications
You must be signed in to change notification settings - Fork 1
70 lines (63 loc) · 1.81 KB
/
test.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
58
59
60
61
62
63
64
65
66
67
68
69
70
name: Test
on:
pull_request:
branches: [ main ]
jobs:
build_linux:
name: Linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/[email protected]
with:
python-version: "3.12"
mamba-version: "*"
channels: conda-forge
miniforge-variant: Mambaforge
channel-priority: strict
auto-update-conda: true
- name: Build Constructor
shell: bash -l {0}
run: |
conda install -y --name test -c conda-forge constructor
mkdir build
constructor -v --output-dir=build --platform="linux-64" constructor
build_mac:
name: MacOsX
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/[email protected]
with:
python-version: "3.12"
mamba-version: "*"
channels: conda-forge
miniforge-variant: Mambaforge
channel-priority: strict
auto-update-conda: true
- name: Build Constructor
shell: bash -l {0}
run: |
conda install -y --name test -c conda-forge constructor
mkdir build
constructor -v --output-dir=build --platform="osx-64" constructor
build_win:
name: Windows
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Conda config
shell: bash -l {0}
run: echo -e "channels:\n - conda-forge\n" > .condarc
- name: Setup Mambaforge
uses: conda-incubator/setup-miniconda@v3
with:
python-version: "3.12"
miniforge-version: latest
condarc-file: .condarc
- name: Build Constructor
shell: bash -l {0}
run: |
conda install -y --name test -c conda-forge constructor
mkdir build
constructor -v --output-dir=build --platform="win-64" constructor