mirror of
https://github.com/PDP-10/its.git
synced 2026-01-17 00:33:22 +00:00
- Needs the same sudo stub as GitLab. - Some X11 libraries are required for building with the KA10 simulator.
19 lines
400 B
Bash
19 lines
400 B
Bash
if test -n "$GITLAB_CI" -o -n "$CIRCLECI"; then
|
|
sudo() {
|
|
"$@"
|
|
}
|
|
fi
|
|
|
|
install_linux() {
|
|
sudo apt-get update -myq
|
|
sudo apt-get install -my expect
|
|
# For GitLab CI
|
|
sudo apt-get install -my git make gcc libncurses-dev autoconf
|
|
case "$EMULATOR" in
|
|
simh) sudo apt-get install -y simh;;
|
|
sims) sudo apt-get install -y libx11-dev libxt-dev;;
|
|
esac
|
|
}
|
|
|
|
"$1"
|