conda_build_mac_m1 #17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
cd example | |
mpiexec -n 4 python -u online/main.py | |
- name: Setup tmate session | |
if: ${{ failure() }} | |
uses: mxschmitt/action-tmate@v3 |