Files
slsDetectorPackage/.github/workflows/conda_python.yaml
T
Erik Frojdh 7fa2eb549b
Build on RHEL9 docker image / build (push) Successful in 4m18s
Build on RHEL8 docker image / build (push) Successful in 5m19s
Run Simulator Tests on local RHEL9 / build (push) Successful in 18m17s
Run Simulator Tests on local RHEL8 / build (push) Successful in 21m51s
bumping actions version and fixing conda-build
2026-05-21 07:34:07 +02:00

42 lines
1.0 KiB
YAML

name: slsdet
on: [pull_request]
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: Disable upload
run: conda config --set anaconda_upload no
- name: Build
run: conda-build conda-recipes/python-client --output-folder build_output
- name: Upload all Conda packages
uses: actions/upload-artifact@v7
with:
name: conda-packages
path: build_output/** # Uploads all packages