Files
slsDetectorPackage/.github/workflows/conda_python.yaml
T
maliakal_d 978ea99e19
Build on RHEL9 docker image / build (push) Successful in 4m13s
Build on RHEL8 docker image / build (push) Successful in 5m11s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m7s
Run Simulator Tests on local RHEL8 / build (push) Failing after 3h9m2s
ignoring some other workflows for now
2026-08-28 11:20:13 +02:00

46 lines
1.1 KiB
YAML

name: slsdet
on:
pull_request:
branches-ignore:
- 'dev/pr_automation*'
- 'dev/test_pr_automation*'
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