comparison contrib/automation/hgautomation/linux.py @ 44760:6a6c15cea1fa stable

contrib: install PyOxidizer in Linux and Windows environments For Linux, this was trivial. For Windows, we need to teach the powershell script to install Rust as well. This was also pretty straightforward. Differential Revision: https://phab.mercurial-scm.org/D8468
author Gregory Szorc <gregory.szorc@gmail.com>
date Sun, 19 Apr 2020 14:16:24 -0700
parents 1b80e684813b
children 56281b75264a
comparison
equal deleted inserted replaced
44759:e58422afbc74 44760:6a6c15cea1fa
70 wget -O rustup-init --progress dot:mega https://static.rust-lang.org/rustup/archive/1.18.3/x86_64-unknown-linux-gnu/rustup-init 70 wget -O rustup-init --progress dot:mega https://static.rust-lang.org/rustup/archive/1.18.3/x86_64-unknown-linux-gnu/rustup-init
71 echo "${RUSTUP_INIT_SHA256} rustup-init" | sha256sum --check - 71 echo "${RUSTUP_INIT_SHA256} rustup-init" | sha256sum --check -
72 72
73 chmod +x rustup-init 73 chmod +x rustup-init
74 sudo -H -u hg -g hg ./rustup-init -y 74 sudo -H -u hg -g hg ./rustup-init -y
75 sudo -H -u hg -g hg /home/hg/.cargo/bin/rustup install 1.31.1 1.34.2 75 sudo -H -u hg -g hg /home/hg/.cargo/bin/rustup install 1.31.1 1.42.0
76 sudo -H -u hg -g hg /home/hg/.cargo/bin/rustup component add clippy 76 sudo -H -u hg -g hg /home/hg/.cargo/bin/rustup component add clippy
77
78 sudo -H -u hg -g hg /home/hg/.cargo/bin/cargo install --version 0.7.0 pyoxidizer
77 ''' 79 '''
78 80
79 81
80 BOOTSTRAP_VIRTUALENV = r''' 82 BOOTSTRAP_VIRTUALENV = r'''
81 /usr/bin/virtualenv /hgdev/venv-bootstrap 83 /usr/bin/virtualenv /hgdev/venv-bootstrap