File tree Expand file tree Collapse file tree 3 files changed +19
-1
lines changed
Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 5252 run : |
5353 curl -fsSL --proto 'https=' https://micro.mamba.pm/install.sh | bash
5454 echo ~/.local/bin >> "$GITHUB_PATH"
55+ - run : micromamba --version
5556
5657 - uses : actions/checkout@v4
5758
Original file line number Diff line number Diff line change @@ -15,6 +15,23 @@ main() {
1515 CONDA_SUBDIR=" ${CONDA_SUBDIR:- $(./ devel/ conda-subdir)} "
1616 export CONDA_SUBDIR
1717
18+ # Set CONDA_OVERRIDE_ARCHSPEC if it's unset or empty.
19+ if [[ -z " ${CONDA_OVERRIDE_ARCHSPEC:- } " ]]; then
20+ # Unset CONDA_OVERRIDE_ARCHSPEC if it's set but empty. An empty
21+ # archspec override *omits* the virtual __archspec package from
22+ # solving, and we don't want to do that.
23+ unset CONDA_OVERRIDE_ARCHSPEC
24+
25+ case " $CONDA_SUBDIR " in
26+ linux-64|osx-64)
27+ # Avoid x86_64-microarch-level versions >1 for greatest
28+ # compatibility
29+ export CONDA_OVERRIDE_ARCHSPEC=x86_64;;
30+
31+ # Other subdirs use their default.
32+ esac
33+ fi
34+
1835 clean
1936 build src
2037 lock
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ requirements:
6060 # systems with an older bash. This is similar to how our Docker runtime
6161 # image includes its own bash too.
6262 #
63- - awscli
63+ - awscli >=2
6464 - bash
6565 - bzip2
6666 - csvtk
You can’t perform that action at this time.
0 commit comments