mirror of
https://github.com/actions/runner-images.git
synced 2025-12-29 21:42:55 +08:00
update boost toolset and notes, remove BOOST_ROOT
This commit is contained in:
@@ -82,6 +82,7 @@ echo "y" | ${ANDROID_ROOT}/tools/bin/sdkmanager --sdk_root=${ANDROID_SDK_ROOT} \
|
||||
"add-ons;addon-google_apis-google-22" \
|
||||
"add-ons;addon-google_apis-google-21" \
|
||||
"cmake;3.6.4111459" \
|
||||
"cmake;3.10.2.4988404" \
|
||||
"patcher;v4"
|
||||
|
||||
# Document what was added to the image
|
||||
|
||||
@@ -76,6 +76,7 @@ echo "y" | ${ANDROID_ROOT}/tools/bin/sdkmanager --sdk_root=${ANDROID_SDK_ROOT} \
|
||||
"add-ons;addon-google_apis-google-22" \
|
||||
"add-ons;addon-google_apis-google-21" \
|
||||
"cmake;3.6.4111459" \
|
||||
"cmake;3.10.2.4988404" \
|
||||
"patcher;v4"
|
||||
|
||||
# Document what was added to the image
|
||||
|
||||
7
images/linux/scripts/installers/configure-environment.sh
Normal file
7
images/linux/scripts/installers/configure-environment.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
#Set ImageVersion and ImageOS env variables
|
||||
echo ImageVersion=$IMAGE_VERSION | tee -a /etc/environment
|
||||
echo ImageOS=$IMAGE_OS | tee -a /etc/environment
|
||||
|
||||
# This directory is supposed to be created in $HOME and owned by user(https://github.com/actions/virtual-environments/issues/491)
|
||||
mkdir -p /etc/skel/.config/configstore
|
||||
echo 'export XDG_CONFIG_HOME=$HOME/.config' | tee -a /etc/skel/.bashrc
|
||||
@@ -35,3 +35,13 @@ echo "Lastly, document the installed versions"
|
||||
DocumentInstalledItem "Git ($(git --version 2>&1 | cut -d ' ' -f 3))"
|
||||
# git-lfs/2.6.1 (GitHub; linux amd64; go 1.11.1)
|
||||
DocumentInstalledItem "Git Large File Storage (LFS) ($(git-lfs --version 2>&1 | cut -d ' ' -f 1 | cut -d '/' -f 2))"
|
||||
|
||||
#Install hub
|
||||
snap install hub --classic
|
||||
if command -v hub; then
|
||||
echo "hub CLI was installed successfully"
|
||||
DocumentInstalledItem "Hub CLI ($(hub --version | grep "hub version" | cut -d ' ' -f 3))"
|
||||
else
|
||||
echo "[!] Hub CLI was not installed"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user