-
Notifications
You must be signed in to change notification settings - Fork 2
34 lines (30 loc) · 1 KB
/
conda_build_mac_m1.yaml
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
name: conda_build_mac_m1
on: [workflow_dispatch]
jobs:
upload_conda_mac_m1:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- uses: conda-incubator/setup-miniconda@v3
with:
auto-activate-base: true
auto-update-conda: true
activate-environment: ""
- name: build pyPDAF
shell: bash -el {0}
run: |
cp PDAFBuild/setup_conda_m1_mac.cfg setup.cfg
conda install python anaconda-client conda-build conda-verify
anaconda login --username yumengch --password ${{ secrets.ANACONDA }}
conda config --set anaconda_upload yes
conda-build -c conda-forge conda.recipe/
- name: install pyPDAF
shell: bash -el {0}
run: |
conda install -y -c conda-forge --use-local pypdaf
mpiexec -n 4 python -u example/main.py
- name: Setup tmate session
if: ${{ failure() }}
uses: mxschmitt/action-tmate@v3