nativefiledialog-extended #4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: nativefiledialog-extended | |
| on: | |
| workflow_dispatch: | |
| jobs: | |
| build-publish-nativefiledialog-extended: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| target: [{platform: "linux-64", runner: "ubuntu-latest"}, | |
| {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 |