@@ -59,7 +59,8 @@ possibility of automatically activating the `test` environment on all shells.
5959| [ Caching packages] ( #caching-packages ) | [ ![ Caching Example Status] [ caching-badge ]] [ caching ] |
6060| [ Caching environments] ( #caching-environments ) | [ ![ Caching Env Example Status] [ caching-env-badge ]] [ caching-env ] |
6161| [ Apple Silicon] ( #example-13-apple-silicon ) | [ ![ Apple Silicon] [ ex13-badge ]] [ ex13 ] |
62- | [ Remove defaults] ( #example-14-conda-remove-defaults ) | [ ![ Remove defaults] [ ex14-badge ]] [ ex14 ] |
62+ | [ Remove defaults] ( #example-14-remove-defaults-channel ) | [ ![ Remove defaults] [ ex14-badge ]] [ ex14 ] |
63+ | [ Linux ARM] ( #example-15-linux-arm ) | [ ![ Linux ARM] [ ex15-badge ]] [ ex15 ] |
6364
6465[ ex1] :
6566 https://github.com/conda-incubator/setup-miniconda/actions/workflows/example-1.yml
@@ -117,6 +118,10 @@ possibility of automatically activating the `test` environment on all shells.
117118 https://github.com/conda-incubator/setup-miniconda/actions/workflows/example-14.yml
118119[ ex14-badge] :
119120 https://github.com/conda-incubator/setup-miniconda/actions/workflows/example-14.yml/badge.svg?branch=main
121+ [ ex15] :
122+ https://github.com/conda-incubator/setup-miniconda/actions/workflows/example-15.yml
123+ [ ex15-badge] :
124+ https://github.com/conda-incubator/setup-miniconda/actions/workflows/example-15.yml/badge.svg?branch=main
120125
121126## Other Workflows
122127
@@ -450,10 +455,10 @@ jobs:
450455
451456# ## Example 7: Lockfiles
452457
453- ` conda list --explicit` and [conda-lock][] support generating [explicit
454- environment specifications][explicit-spec], which skip the environment solution
455- step altogether, as they contain the _ordered_ list of exact URLs needed to
456- reproduce the environment.
458+ ` conda list --explicit` and [conda-lock][conda-lock ] support generating
459+ [explicit environment specifications][explicit-spec], which skip the environment
460+ solution step altogether, as they contain the _ordered_ list of exact URLs
461+ needed to reproduce the environment.
457462
458463This means explicitly-defined environments which :
459464
@@ -595,10 +600,10 @@ jobs:
595600 steps:
596601 - uses: actions/checkout@v4
597602 - uses: ./
598- id: setup-miniconda
603+ id: setup-miniforge
599604 continue-on-error: true
600605 with:
601- miniconda -version: latest
606+ miniforge -version: latest
602607 - name: Check arm64
603608 shell: bash -el {0}
604609 run: |
@@ -635,6 +640,31 @@ jobs:
635640 conda config --show-sources
636641` ` `
637642
643+ # ## Example 15: Linux ARM
644+
645+ ` ` ` yaml
646+ jobs:
647+ example-15:
648+ name: Ex15 (os=${{ matrix.os }})
649+ runs-on: ${{ matrix.os }}
650+ strategy:
651+ fail-fast: false
652+ matrix:
653+ os: ["ubuntu-24.04-arm"]
654+ steps:
655+ - uses: actions/checkout@v4
656+ - uses: ./
657+ id: setup-miniconda
658+ continue-on-error: true
659+ with:
660+ miniforge-version: latest
661+ - name: Check ARM
662+ shell: bash -el {0}
663+ run: |
664+ conda install -y python
665+ python -c "import platform; assert platform.machine() == 'aarch64', platform.machine()"
666+ ` ` `
667+
638668# # Caching
639669
640670# ## Caching packages
0 commit comments