Files
slsDetectorPackage/.github/workflows/conda_deploy_library.yaml
T
lunin_l 7db29d55a7
Build and Deploy on local RHEL9 / build (push) Successful in 2m8s
Build on RHEL9 docker image / build (push) Successful in 3m44s
Build on RHEL8 docker image / build (push) Successful in 5m2s
Build and Deploy on local RHEL8 / build (push) Successful in 5m5s
Run Simulator Tests on local RHEL9 / build (push) Successful in 18m17s
Run Simulator Tests on local RHEL8 / build (push) Successful in 21m57s
CI: Use conda-build instead conda build (#1464)
* repalce conda build with conda-build, bump actions versions

* updated github actions versions to run on node 24

---------

Co-authored-by: Alice <alice.mazzoleni@psi.ch>
2026-05-21 15:56:23 +02:00

47 lines
1.2 KiB
YAML

name: Build and deploy slsdetlib
on:
release:
types:
- published
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@v6
- name: Get conda
uses: conda-incubator/setup-miniconda@v4
with:
python-version: ${{ matrix.python-version }}
channels: conda-forge
- name: Prepare
run: conda install conda-build conda-verify pytest anaconda-client
- name: Enable upload
run: conda config --set anaconda_upload yes
- name: Build
env:
CONDA_TOKEN: ${{ secrets.CONDA_TOKEN }}
run: conda-build conda-recipes/main-library --user slsdetectorgroup --token ${CONDA_TOKEN} --output-folder build_output
- name: Upload all Conda to github as artifacts
uses: actions/upload-artifact@v7
with:
name: conda-packages
path: build_output/** # Uploads all packages