Skip to content

Commit f4890c5

Browse files
committed
restore CI
1 parent e62ca83 commit f4890c5

File tree

1 file changed

+75
-78
lines changed

1 file changed

+75
-78
lines changed

.github/workflows/publish_conda.yml

Lines changed: 75 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -5,81 +5,81 @@ on:
55
workflow_call:
66

77
jobs:
8-
# deploy_linux:
9-
# runs-on: ${{ matrix.os }}
10-
# container: ${{ matrix.container }}
11-
12-
# strategy:
13-
# fail-fast: false
14-
# matrix:
15-
# os: ["ubuntu-latest"]
16-
# python-version: ["3.10"]
17-
# container: ["quay.io/pypa/manylinux_2_28_x86_64"]
18-
19-
# steps:
20-
# - uses: actions/checkout@v4
21-
22-
# - uses: conda-incubator/setup-miniconda@v2
23-
# with:
24-
# miniconda-version: "latest"
25-
# activate-environment: ../deploy-env
26-
# python-version: ${{ matrix.python-version }}
27-
28-
# - name: Install build deps
29-
# shell: bash -l {0}
30-
# run: |
31-
# git config --global --add safe.directory '*'
32-
# conda install anaconda-client rattler-build python=${{ matrix.python-version }} -c conda-forge
33-
# pip install setuptools-scm>=8 toml pyyaml
34-
35-
# - name: Build conda package
36-
# shell: bash -l {0}
37-
# run: |
38-
# python package/moleculekit/insert_placeholder_values.py
39-
# rattler-build build --recipe ./package/moleculekit/recipe.yaml --output-dir ../pkg/ --no-include-recipe -c acellera -c conda-forge
40-
41-
# - name: Upload to conda
42-
# shell: bash -l {0}
43-
# run: |
44-
# anaconda -t ${{ secrets.ANACONDA_TOKEN_BASIC }} upload -u acellera ../pkg/*/moleculekit-*.conda
45-
46-
# deploy_osx:
47-
# runs-on: ${{ matrix.os }}
48-
49-
# strategy:
50-
# fail-fast: false
51-
# matrix:
52-
# os: ["macos-latest", "macos-13"]
53-
# python-version: ["3.10"]
54-
55-
# steps:
56-
# - uses: actions/checkout@v4
57-
58-
# - uses: ilammy/msvc-dev-cmd@v1
59-
60-
# - uses: conda-incubator/setup-miniconda@v3
61-
# with:
62-
# miniconda-version: "latest"
63-
# activate-environment: ../deploy-env
64-
# python-version: ${{ matrix.python-version }}
65-
66-
# - name: Install build deps
67-
# shell: bash -l {0}
68-
# run: |
69-
# git config --global --add safe.directory '*'
70-
# conda install anaconda-client rattler-build python=${{ matrix.python-version }} -c conda-forge
71-
# pip install setuptools-scm>=8 toml pyyaml
72-
73-
# - name: Build conda package
74-
# shell: bash -l {0}
75-
# run: |
76-
# python package/moleculekit/insert_placeholder_values.py
77-
# rattler-build build --recipe ./package/moleculekit/recipe.yaml --output-dir ../pkg/ --no-include-recipe -c acellera -c conda-forge
78-
79-
# - name: Upload to conda
80-
# shell: bash -l {0}
81-
# run: |
82-
# anaconda -t ${{ secrets.ANACONDA_TOKEN_BASIC }} upload -u acellera ../pkg/*/moleculekit-*.conda
8+
deploy_linux:
9+
runs-on: ${{ matrix.os }}
10+
container: ${{ matrix.container }}
11+
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
os: ["ubuntu-latest"]
16+
python-version: ["3.10"]
17+
container: ["quay.io/pypa/manylinux_2_28_x86_64"]
18+
19+
steps:
20+
- uses: actions/checkout@v4
21+
22+
- uses: conda-incubator/setup-miniconda@v2
23+
with:
24+
miniconda-version: "latest"
25+
activate-environment: ../deploy-env
26+
python-version: ${{ matrix.python-version }}
27+
28+
- name: Install build deps
29+
shell: bash -l {0}
30+
run: |
31+
git config --global --add safe.directory '*'
32+
conda install anaconda-client rattler-build python=${{ matrix.python-version }} -c conda-forge
33+
pip install setuptools-scm>=8 toml pyyaml
34+
35+
- name: Build conda package
36+
shell: bash -l {0}
37+
run: |
38+
python package/moleculekit/insert_placeholder_values.py
39+
rattler-build build --recipe ./package/moleculekit/recipe.yaml --output-dir ../pkg/ --no-include-recipe -c acellera -c conda-forge
40+
41+
- name: Upload to conda
42+
shell: bash -l {0}
43+
run: |
44+
anaconda -t ${{ secrets.ANACONDA_TOKEN_BASIC }} upload -u acellera ../pkg/*/moleculekit-*.conda
45+
46+
deploy_osx:
47+
runs-on: ${{ matrix.os }}
48+
49+
strategy:
50+
fail-fast: false
51+
matrix:
52+
os: ["macos-latest", "macos-13"]
53+
python-version: ["3.10"]
54+
55+
steps:
56+
- uses: actions/checkout@v4
57+
58+
- uses: ilammy/msvc-dev-cmd@v1
59+
60+
- uses: conda-incubator/setup-miniconda@v3
61+
with:
62+
miniconda-version: "latest"
63+
activate-environment: ../deploy-env
64+
python-version: ${{ matrix.python-version }}
65+
66+
- name: Install build deps
67+
shell: bash -l {0}
68+
run: |
69+
git config --global --add safe.directory '*'
70+
conda install anaconda-client rattler-build python=${{ matrix.python-version }} -c conda-forge
71+
pip install setuptools-scm>=8 toml pyyaml
72+
73+
- name: Build conda package
74+
shell: bash -l {0}
75+
run: |
76+
python package/moleculekit/insert_placeholder_values.py
77+
rattler-build build --recipe ./package/moleculekit/recipe.yaml --output-dir ../pkg/ --no-include-recipe -c acellera -c conda-forge
78+
79+
- name: Upload to conda
80+
shell: bash -l {0}
81+
run: |
82+
anaconda -t ${{ secrets.ANACONDA_TOKEN_BASIC }} upload -u acellera ../pkg/*/moleculekit-*.conda
8383
8484
windows_build:
8585
runs-on: ${{ matrix.os }}
@@ -99,9 +99,6 @@ jobs:
9999
activate-environment: ../deploy-env
100100
python-version: ${{ matrix.python-version }}
101101

102-
# - name: Add msbuild to PATH
103-
# uses: microsoft/setup-msbuild@v2
104-
105102
- name: Install build deps
106103
shell: bash -l {0}
107104
run: |

0 commit comments

Comments
 (0)