File tree 1 file changed +10
-2
lines changed
1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 33
33
- name : Setup conda
34
34
run : |
35
35
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh
36
- bash ~/miniconda.sh -b -p $HOME/miniconda
36
+ bash ~/miniconda.sh -b -p $HOME/miniconda -u
37
+ conda update -n base -c defaults -y conda
37
38
- name : setup Path
38
39
run : |
39
40
echo "/home/ec2-user/miniconda/bin" >> $GITHUB_PATH
51
52
- name : Install gcc
52
53
shell : bash
53
54
run : |
54
- sudo apt-get install build-essential
55
+ conda install -n build_binary -c conda-forge -y gxx_linux-64=11.4.0
56
+ echo "[INSTALL] Setting the C/C++ compiler symlinks ..."
57
+ local cc_path=$(conda run ${env_prefix} printenv CC)
58
+ local cxx_path=$(conda run ${env_prefix} printenv CXX)
59
+ ln -sf "${cc_path}" "$(dirname "$cc_path")/cc"
60
+ ln -sf "${cc_path}" "$(dirname "$cc_path")/gcc"
61
+ ln -sf "${cxx_path}" "$(dirname "$cxx_path")/c++"
62
+ ln -sf "${cxx_path}" "$(dirname "$cxx_path")/g++"
55
63
- name : setup Path
56
64
run : |
57
65
echo /usr/local/bin >> $GITHUB_PATH
You can’t perform that action at this time.
0 commit comments