-
Notifications
You must be signed in to change notification settings - Fork 1
52 lines (45 loc) · 1.73 KB
/
nativefiledialog-extended.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: nativefiledialog-extended
on:
workflow_dispatch:
jobs:
build-publish-nativefiledialog-extended:
strategy:
fail-fast: false
matrix:
target: [{platform: "linux-64", runner: "ubuntu-latest"},
{platform: "linux-aarch64", runner: "ubuntu-22.04-arm"},
{platform: "osx-64", runner: "macos-13"},
{platform: "osx-arm64", runner: "macos-14"},
{platform: "win-64", runner: "windows-latest"}]
name: "Build and publish nativefiledialog-extended - ${{ matrix.target.platform }} conda packages on ${{ matrix.target.runner }}"
runs-on: ${{ matrix.target.runner }}
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install miniconda
uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: sofa-conda-ci
auto-update-conda: true
miniforge-version: latest
- name: Install conda environment
shell: bash -l {0}
run: |
conda install anaconda-client rattler-build -c conda-forge
conda config --set anaconda_upload no
- name: Show conda config
shell: bash -l {0}
run: |
conda info
conda list
conda config --show-sources
conda config --show
printenv | sort
- name: Build & publish sofa conda package
shell: bash -l {0}
run: |
cd conda/recipes/
PKG_DIR=../../../../rattler-bld
rattler-build build --recipe nativefiledialog-extended/recipe.yaml --variant-config ../configs/${{ matrix.target.platform }}.yaml --output-dir $PKG_DIR -c conda-forge
anaconda -t ${{ secrets.ANACONDA_TOKEN }} upload -u sofa-framework -l main $PKG_DIR/**/*.conda --force