File tree 2 files changed +10
-6
lines changed
2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 15
15
CXXFLAGS : " -Werror"
16
16
steps :
17
17
- uses : actions/checkout@v3
18
+ - uses : conda-incubator/setup-miniconda@v2
19
+ name : Setup conda
20
+ with :
21
+ auto-update-conda : true
22
+ activate-environment : testing
23
+ auto-activate-base : false
24
+ channels : conda-forge,defaults
25
+ channel-priority : true
18
26
- name : install dependencies
19
27
run : |
20
28
.github/workflows/dependencies/conda.sh
@@ -24,15 +32,13 @@ jobs:
24
32
# - for a refresh the key has to change, e.g., hash of a tracked file in the key
25
33
with :
26
34
path : |
27
- ~/.ccache
28
35
~/.cache/ccache
29
- key : ccache-conda-linux-${{ hashFiles('.github/workflows/ubuntu .yml') }}-${{ hashFiles('cmake/dependencies/AMReX.cmake') }}
36
+ key : ccache-conda-linux-${{ hashFiles('.github/workflows/conda .yml') }}-${{ hashFiles('cmake/dependencies/AMReX.cmake') }}
30
37
restore-keys : |
31
- ccache-conda-linux-${{ hashFiles('.github/workflows/ubuntu .yml') }}-
38
+ ccache-conda-linux-${{ hashFiles('.github/workflows/conda .yml') }}-
32
39
ccache-conda-linux-
33
40
- name : build WarpX
34
41
run : |
35
- source activate base
36
42
cmake -S . -B build \
37
43
-DCMAKE_VERBOSE_MAKEFILE=ON \
38
44
-DWarpX_EB=ON \
Original file line number Diff line number Diff line change 7
7
8
8
set -eu -o pipefail
9
9
10
- conda init bash
11
-
12
10
conda update -y -n base conda
13
11
conda install -y -n base conda-libmamba-solver
14
12
conda config --set solver libmamba
You can’t perform that action at this time.
0 commit comments