Skip to content

Commit

Permalink
Try rattler
Browse files Browse the repository at this point in the history
  • Loading branch information
kordejong committed Feb 22, 2024
1 parent 50e6dec commit 7c6c116
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linux-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Linux Conda package
on:
push:
branches-ignore:
- "ghxyz"
- "gh613"
paths:
- "conanfile.py"
- ".github/workflows/linux-conda.yml"
Expand Down
39 changes: 15 additions & 24 deletions .github/workflows/macos-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,33 +18,24 @@ on:

jobs:
build:

strategy:
matrix:
os: ["macos-13"]
python-version: ["3.9"]
fail-fast: true

name: ${{ matrix.os }} / ${{ matrix.target-platform }} / conda
runs-on: ${{ matrix.os }}

name: ${{ matrix.os }} / python - ${{ matrix.python-version }} / conda

timeout-minutes: 120
defaults:
run:
shell: bash -l {0}
strategy:
matrix:
include:
- os: "macos-13"
target-platform: osx-64
fail-fast: true

steps:

- name: Checkout LUE
uses: actions/checkout@v4

- uses: conda-incubator/setup-miniconda@v2
- uses: actions/checkout@v4
- uses: prefix-dev/[email protected]
with:
miniconda-version: "latest"
auto-update-conda: true
python-version: ${{ matrix.python-version }}
channels: conda-forge

- name: Build
shell: bash -l {0}
run: |
conda install boa
conda mambabuild environment/conda --override-channels --channel conda-forge
recipe-path: environment/conda
artifact-name: lue-${{ matrix.target-platform }}
build-args: --target-platform ${{ matrix.target-platform }}
2 changes: 1 addition & 1 deletion .github/workflows/windows-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Windows Conda package
on:
push:
branches-ignore:
- "ghxyz"
- "gh613"
paths:
- "conanfile.py"
- ".github/workflows/windows-conda.yml"
Expand Down
2 changes: 2 additions & 0 deletions environment/conda/conda_build_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ libgdal:
- 3.8
numpy:
- 1.22
python:
- 3.12

0 comments on commit 7c6c116

Please sign in to comment.