1
0
mirror of https://github.com/PDP-10/its.git synced 2026-01-17 00:33:22 +00:00
PDP-10.its/build/dependencies.sh
Lars Brinkhoff e99721a7e2 Build with Circle CI.
- Needs the same sudo stub as GitLab.
- Some X11 libraries are required for building with the KA10 simulator.
2018-08-04 21:35:10 +02:00

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"