-
Notifications
You must be signed in to change notification settings - Fork 19
/
config.yml
102 lines (98 loc) · 2.79 KB
/
config.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
version: 2
jobs:
build-python311:
docker:
- image: continuumio/miniconda3
resource_class: large
working_directory: ~/circleci-pyrcel311
steps:
- checkout
# Download and cache dependencies
- restore_cache:
keys:
- v2-dependencies
- run: echo "Building Python 3.11 version..."
- run:
name: Create Conda Environment
command: |
conda env create -f ci/requirements-py311.yml
- run:
name: Install and Test Pyrcel Simulation
command: |
source activate pyrcel
pip install -e .
run_parcel examples/simple.yml
build-python310:
docker:
- image: continuumio/miniconda3
resource_class: large
working_directory: ~/circleci-pyrcel310
steps:
- checkout
# Download and cache dependencies
- restore_cache:
keys:
- v2-dependencies
- run: echo "Building Python 3.10 version..."
- run:
name: Create Conda Environment
command: |
conda env create -f ci/requirements-py310.yml
- run:
name: Install and Test Pyrcel Simulation
command: |
source activate pyrcel
pip install -e .
run_parcel examples/simple.yml
build-python39: # required for runs that don't use workflows
docker:
- image: continuumio/miniconda3
resource_class: large
working_directory: ~/circleci-pyrcel39
steps:
- checkout
# Download and cache dependencies
- restore_cache:
keys:
- v2-dependencies
- run: echo "Building Python 3.9 version..."
- run:
name: Create Conda Environment
command: |
conda env create -f ci/requirements-py39.yml
- run:
name: Install and Test Pyrcel Simulation
command: |
source activate pyrcel
pip install -e .
run_parcel examples/simple.yml
build-python38: # required for runs that don't use workflows
docker:
- image: continuumio/miniconda3
working_directory: ~/circleci-pyrcel38
resource_class: large
steps:
- checkout
# Download and cache dependencies
- restore_cache:
keys:
- v2-dependencies
- run: echo "Building Python 3.8 version..."
- run:
name: Create Conda Environment
command: |
conda env create -f ci/requirements-py38.yml
- run:
name: Install and Test Pyrcel Simulation
command: |
source activate pyrcel
pip install -e .
run_parcel examples/simple.yml
workflows:
version: 2
build:
jobs:
- build-python311
- build-python310
- build-python39
- build-python38