|
20 | 20 | - uses: actions/checkout@v4 |
21 | 21 | - uses: conda-incubator/setup-miniconda@v3 |
22 | 22 | with: |
23 | | - python-version: "3.11" |
| 23 | + python-version: "3.12" |
24 | 24 | activate-environment: sparc-test |
25 | | - conda-build-version: "24.9.0" |
26 | 25 | miniforge-version: latest # Fix according to https://github.com/conda-incubator/setup-miniconda?tab=readme-ov-file#example-10-miniforge |
27 | 26 | channels: conda-forge,defaults |
28 | 27 | channel-priority: true |
@@ -50,24 +49,24 @@ jobs: |
50 | 49 | - uses: actions/checkout@v4 |
51 | 50 | - uses: conda-incubator/setup-miniconda@v3 |
52 | 51 | with: |
53 | | - python-version: "3.11" |
| 52 | + python-version: "3.12" |
54 | 53 | activate-environment: sparc-test |
55 | | - conda-build-version: "24.9.0" |
56 | 54 | miniforge-version: latest # Fix according to https://github.com/conda-incubator/setup-miniconda?tab=readme-ov-file#example-10-miniforge |
57 | 55 | channels: conda-forge,defaults |
58 | 56 | channel-priority: true |
59 | | - - name: Install boa dependencies |
| 57 | + - name: Install lasted conda build |
| 58 | + # Conda build seems much stable now to be used without boa |
60 | 59 | run: | |
61 | | - mamba install -c conda-forge pip setuptools "conda-build=24.9.0" "colorama=0.4.6" "ruamel=1.0" ruamel.yaml "rich=13.9" "mamba=1.5.10" "jsonschema=4.23" |
62 | | - pip install git+https://github.com/mamba-org/boa.git@00a11ffce59f47c0fc576f93d39baf1f8fc92f32 |
| 60 | + mamba install -c conda-forge conda-build |
63 | 61 | - name: Build with mambabuild |
64 | 62 | run: | |
65 | 63 | echo $CONDA_PREFIX |
66 | 64 | conda info |
67 | | - CPU_COUNT=2 conda mambabuild .conda/ |
| 65 | + CPU_COUNT=2 conda build .conda/ |
68 | 66 | - name: Install local build |
69 | 67 | run: | |
70 | | - mamba install --use-local sparc |
| 68 | + # Change from version 2.3 |
| 69 | + mamba install -c local sparc |
71 | 70 | which sparc |
72 | 71 | ldd $(which sparc) |
73 | 72 | ldd $(which mpirun) |
|
0 commit comments