Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions .github/workflows/mmg-osx-arm64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Conda packaging osx-arm64

on:
workflow_dispatch:

jobs:
macos:
name: MacOS
runs-on: macos-latest

steps:
- uses: actions/checkout@v4

- uses: conda-incubator/setup-miniconda@v2
with:
miniconda-version: "latest"
auto-update-conda: true

- name: Configure Conda for osx-arm64
shell: bash -l {0}
run: |
conda config --set subdir osx-arm64
echo "CONDA_SUBDIR=osx-arm64" >> $GITHUB_ENV

- name: Install Dependencies
shell: bash -l {0}
run: |
conda update --all
conda clean --all
conda install conda-build anaconda-client conda-verify
conda config --set anaconda_upload no

- name: Build Package
shell: bash -l {0}
run: |
conda-build mmg.recipe -c set3mah -c conda-forge --no-test --output-folder .

- name: Upload Conda Packages
shell: bash -l {0}
env:
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
run: |
anaconda upload osx-arm64/*.conda --force
35 changes: 35 additions & 0 deletions .github/workflows/mmg-packaging-linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Create conda package for mmg

on:
workflow_dispatch:

jobs:
Linux:
name: Linux
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
miniconda-version: "latest"
auto-update-conda: true

- name: Install Dependencies
shell: bash -l {0}
run: |
conda update --all
conda clean --all
conda install conda-build anaconda-client conda-verify
conda config --set anaconda_upload no

- name: Build Package
shell: bash -l {0}
run: |
conda-build mmg.recipe -c set3mah -c conda-forge --no-test --output-folder .

- name: Upload to Anaconda
shell: bash -l {0}
env:
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
run: |
anaconda upload linux-64/*.conda --force
43 changes: 43 additions & 0 deletions .github/workflows/mmg-packaging-osx-64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Conda packaging osx-x86-64

on:
workflow_dispatch:

jobs:
macos:
name: MacOS
runs-on: macos-latest

steps:
- uses: actions/checkout@v4

- uses: conda-incubator/setup-miniconda@v2
with:
miniconda-version: "latest"
auto-update-conda: true

- name: Configure Conda for osx-64
shell: bash -l {0}
run: |
conda config --set subdir osx-64
echo "CONDA_SUBDIR=osx-64" >> $GITHUB_ENV

- name: Install Dependencies
shell: bash -l {0}
run: |
conda update --all
conda clean --all
conda install conda-build anaconda-client conda-verify
conda config --set anaconda_upload no

- name: Build Package
shell: bash -l {0}
run: |
conda-build mmg.recipe -c set3mah -c conda-forge --no-test --output-folder .

- name: Upload Conda Packages
shell: bash -l {0}
env:
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
run: |
anaconda upload osx-64/*.conda --force
59 changes: 0 additions & 59 deletions .github/workflows/mmg-packaging.yml

This file was deleted.

35 changes: 35 additions & 0 deletions .github/workflows/mmg-windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Conda packaging windows

on:
workflow_dispatch:

jobs:
windows:
name: Windows
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v2
with:
miniconda-version: "latest"

- name: Install Dependencies
shell: pwsh
run: |
conda update --all
conda clean --all
conda install conda-build anaconda-client conda-verify
conda config --set anaconda_upload no

- name: Build Package
shell: pwsh
run: |
conda-build mmg.recipe -c set3mah -c conda-forge --no-test --output-folder .

- name: Upload to Anaconda
shell: pwsh
env:
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
run: |
set ANACONDA_API_TOKEN=${{ secrets.ANACONDA_TOKEN }}
anaconda upload win-64/*.conda --force
Loading