|
5 | 5 | workflow_call:
|
6 | 6 |
|
7 | 7 | 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 |
83 | 83 |
|
84 | 84 | windows_build:
|
85 | 85 | runs-on: ${{ matrix.os }}
|
|
99 | 99 | activate-environment: ../deploy-env
|
100 | 100 | python-version: ${{ matrix.python-version }}
|
101 | 101 |
|
102 |
| - # - name: Add msbuild to PATH |
103 |
| - # uses: microsoft/setup-msbuild@v2 |
104 |
| - |
105 | 102 | - name: Install build deps
|
106 | 103 | shell: bash -l {0}
|
107 | 104 | run: |
|
|
0 commit comments