File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 42
42
path : ${{ env.ONEAPI_ROOT }}
43
43
key : ${{ runner.os }}-${{ inputs.compiler }}-${{ inputs.version }}-${{ steps.get-date.outputs.date }}
44
44
45
+ - uses : mamba-org/setup-micromamba@v1
46
+ if : runner.os == 'macOS' && contains(inputs.compiler, 'lfortran')
47
+ with :
48
+ init-shell : >-
49
+ bash
50
+ powershell
51
+ cmd.exe
52
+ post-cleanup : ' all'
53
+
45
54
# Set up the selected toolchain or compiler
46
55
- name : Setup toolchain
47
56
id : setup
Original file line number Diff line number Diff line change @@ -25,11 +25,6 @@ install_environment_modules_apt() {
25
25
echo " Environment modules set up completed."
26
26
}
27
27
28
- install_micromamba_brew () {
29
- brew install micromamba
30
- micromamba shell init
31
- }
32
-
33
28
install_gcc_brew ()
34
29
{
35
30
# check if gcc preinstalled via brew
@@ -618,7 +613,6 @@ install_lfortran_w()
618
613
install_lfortran_m ()
619
614
{
620
615
local version=$1
621
- install_micromamba_brew
622
616
export CC=" gcc"
623
617
export CXX=" g++"
624
618
export CONDA_ROOT_PREFIX=$MAMBA_ROOT_PREFIX
You can’t perform that action at this time.
0 commit comments