mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-06-07 21:20:40 +02:00
roll back conda-build
This commit is contained in:
parent
06670a7e24
commit
996a8861f6
43
.github/workflows/build_pkg.yml
vendored
43
.github/workflows/build_pkg.yml
vendored
@ -1,43 +0,0 @@
|
|||||||
name: Build packages but don't deploy
|
|
||||||
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
- developer
|
|
||||||
|
|
||||||
#run on PRs as well?
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
platform: [ubuntu-latest, ] # macos-12, windows-2019]
|
|
||||||
python-version: ["3.12",]
|
|
||||||
|
|
||||||
runs-on: ${{ matrix.platform }}
|
|
||||||
|
|
||||||
# The setup-miniconda action needs this to activate miniconda
|
|
||||||
defaults:
|
|
||||||
run:
|
|
||||||
shell: "bash -l {0}"
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Get conda
|
|
||||||
uses: conda-incubator/setup-miniconda@v3.0.4
|
|
||||||
with:
|
|
||||||
python-version: ${{ matrix.python-version }}
|
|
||||||
channels: conda-forge
|
|
||||||
|
|
||||||
- name: Prepare
|
|
||||||
run: conda install conda-build conda-verify pytest anaconda-client
|
|
||||||
|
|
||||||
- name: Build
|
|
||||||
env:
|
|
||||||
CONDA_TOKEN: ${{ secrets.CONDA_TOKEN }}
|
|
||||||
run: conda build conda-recipe
|
|
||||||
|
|
10
.github/workflows/deploy.yml
vendored
10
.github/workflows/deploy.yml
vendored
@ -1,7 +1,10 @@
|
|||||||
name: Deploy to slsdetectorgroup conda channel
|
name: Build pkgs and deploy if on main
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
- developer
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -28,9 +31,10 @@ jobs:
|
|||||||
channels: conda-forge
|
channels: conda-forge
|
||||||
|
|
||||||
- name: Prepare
|
- name: Prepare
|
||||||
run: conda install conda-build conda-verify pytest anaconda-client
|
run: conda install conda-build=24.9 conda-verify pytest anaconda-client
|
||||||
|
|
||||||
- name: Enable upload
|
- name: Enable upload
|
||||||
|
if: github.ref == 'refs/heads/main'
|
||||||
run: conda config --set anaconda_upload yes
|
run: conda config --set anaconda_upload yes
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package:
|
package:
|
||||||
name: aare
|
name: aare
|
||||||
version: 2024.11.15.dev0 #TODO! how to not duplicate this?
|
version: 2024.11.26.dev0 #TODO! how to not duplicate this?
|
||||||
|
|
||||||
|
|
||||||
source:
|
source:
|
||||||
|
@ -4,7 +4,7 @@ build-backend = "scikit_build_core.build"
|
|||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "aare"
|
name = "aare"
|
||||||
version = "2024.11.15.dev0"
|
version = "2024.11.26.dev0"
|
||||||
|
|
||||||
|
|
||||||
[tool.scikit-build]
|
[tool.scikit-build]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user