-
Notifications
You must be signed in to change notification settings - Fork 129
33 lines (33 loc) · 970 Bytes
/
mamba.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
name: Create Conda Environment
on: [push]
jobs:
conda:
name: Ex1 (${{ matrix.python-version }}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
python-version: ["3.9"]
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
# mamba-version: "*"
auto-update-conda: true
environment-file: .binder/environment.yml
python-version: ${{ matrix.python-version }}
# use-mamba: true
- name: Conda info
shell: bash -el {0}
run: conda info
- name: Conda list
shell: pwsh
run: conda list
- name: Conda activate
shell: bash -el {0}
run: constructor --output-dir dist/main
- uses: actions/upload-artifact@v3
with:
name: ${{ matrix.os }}
path: dist/main