Upgraded CI to micromamba 2.0.2 (#3497)

* Upgraded CI to micromamba 2.0.2

* Investigate CI setup

* touch my.bat
This commit is contained in:
Johan Mabille 2024-10-04 08:54:44 +02:00 committed by GitHub
parent 31b23473e0
commit 675c6de0e6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 11 additions and 21 deletions

View File

@ -67,7 +67,7 @@ jobs:
mv mamba/ micromamba-feedstock/source
# Prevent irrelevant file permission error
git -C micromamba-feedstock/ config --local --add safe.directory '*'
- uses: mamba-org/setup-micromamba@v1
- uses: mamba-org/setup-micromamba@v2
with:
environment-name: mambabuild
create-args: python boa
@ -149,9 +149,8 @@ jobs:
key: sccache-${{ github.job }}-win-64
- name: Set up MSVC
uses: ilammy/msvc-dev-cmd@v1
- uses: mamba-org/setup-micromamba@v1
- uses: mamba-org/setup-micromamba@v2
with:
micromamba-version: '1.5.10-0'
environment-name: mambabuild
init-shell: bash cmd.exe
# Constraint on fmt is due to an issue with 11.0.2 (to be fixed in next version)

View File

@ -23,9 +23,8 @@ jobs:
- name: Checkout mamba repository
uses: actions/checkout@v4
- name: Create build environment
uses: mamba-org/setup-micromamba@v1
uses: mamba-org/setup-micromamba@v2
with:
micromamba-version: '1.5.10-0'
environment-file: ./dev/environment-dev.yml
environment-name: build_env
cache-environment: true
@ -71,9 +70,8 @@ jobs:
path: build/
key_suffix: ${{ inputs.os }}-${{ inputs.build_type }}
- name: Create build environment
uses: mamba-org/setup-micromamba@v1
uses: mamba-org/setup-micromamba@v2
with:
micromamba-version: '1.5.10-0'
environment-file: ./build/environment.lock
environment-name: build_env
- name: Run solv-cpp tests
@ -98,9 +96,8 @@ jobs:
path: build/
key_suffix: ${{ inputs.os }}-${{ inputs.build_type }}
- name: Create build environment
uses: mamba-org/setup-micromamba@v1
uses: mamba-org/setup-micromamba@v2
with:
micromamba-version: '1.5.10-0'
environment-file: ./build/environment.lock
environment-name: build_env
- name: Install libmambapy
@ -126,9 +123,8 @@ jobs:
path: build/
key_suffix: ${{ inputs.os }}-${{ inputs.build_type }}
- name: Create build environment
uses: mamba-org/setup-micromamba@v1
uses: mamba-org/setup-micromamba@v2
with:
micromamba-version: '1.5.10-0'
environment-file: ./build/environment.lock
environment-name: build_env
- name: install zsh, xonsh, fish and tcsh in linux
@ -184,9 +180,8 @@ jobs:
path: build/
key_suffix: ${{ inputs.os }}-${{ inputs.build_type }}
- name: Create build environment
uses: mamba-org/setup-micromamba@v1
uses: mamba-org/setup-micromamba@v2
with:
micromamba-version: '1.5.10-0'
environment-file: ./build/environment.lock
environment-name: build_env
- name: Run tests using conda-content-trust (server side)

View File

@ -23,9 +23,8 @@ jobs:
- name: Checkout mamba repository
uses: actions/checkout@v4
- name: Create build environment
uses: mamba-org/setup-micromamba@v1
uses: mamba-org/setup-micromamba@v2
with:
micromamba-version: '1.5.10-0'
environment-file: ./dev/environment-dev.yml
environment-name: build_env
cache-environment: true
@ -76,9 +75,8 @@ jobs:
path: build/
key_suffix: ${{ inputs.os }}-${{ inputs.build_type }}
- name: Create build environment
uses: mamba-org/setup-micromamba@v1
uses: mamba-org/setup-micromamba@v2
with:
micromamba-version: '1.5.10-0'
environment-file: ./build/environment.lock
environment-name: build_env
init-shell: bash cmd.exe
@ -106,9 +104,8 @@ jobs:
path: build/
key_suffix: ${{ inputs.os }}-${{ inputs.build_type }}
- name: Create build environment
uses: mamba-org/setup-micromamba@v1
uses: mamba-org/setup-micromamba@v2
with:
micromamba-version: '1.5.10-0'
environment-file: ./build/environment.lock
environment-name: build_env
init-shell: bash cmd.exe
@ -135,9 +132,8 @@ jobs:
path: build/
key_suffix: ${{ inputs.os }}-${{ inputs.build_type }}
- name: Create build environment
uses: mamba-org/setup-micromamba@v1
uses: mamba-org/setup-micromamba@v2
with:
micromamba-version: '1.5.10-0'
environment-file: ./build/environment.lock
environment-name: build_env
init-shell: bash cmd.exe powershell