1
0
mirror of https://github.com/PDP-10/its.git synced 2026-04-03 21:02:59 +00:00

Build with Circle CI.

- Needs the same sudo stub as GitLab.
- Some X11 libraries are required for building with the KA10 simulator.
This commit is contained in:
Lars Brinkhoff
2018-04-12 10:03:19 +02:00
parent 9f70f354d7
commit e99721a7e2
2 changed files with 22 additions and 4 deletions

17
.circleci/config.yml Normal file
View File

@@ -0,0 +1,17 @@
version: 2
jobs:
build:
docker:
- image: debian
environment:
EMULATOR: "sims"
steps:
- checkout
- run: sh -ex build/dependencies.sh install_linux
- run:
name: build
command: "make EMULATOR=$EMULATOR"
no_output_timeout: 60m
timeout: 60m
- store_artifacts:
path: out

View File

@@ -1,4 +1,4 @@
if test -n "$GITLAB_CI"; then
if test -n "$GITLAB_CI" -o -n "$CIRCLECI"; then
sudo() {
"$@"
}
@@ -9,9 +9,10 @@ install_linux() {
sudo apt-get install -my expect
# For GitLab CI
sudo apt-get install -my git make gcc libncurses-dev autoconf
if test "$EMULATOR" = simh; then
sudo apt-get install -y simh
fi
case "$EMULATOR" in
simh) sudo apt-get install -y simh;;
sims) sudo apt-get install -y libx11-dev libxt-dev;;
esac
}
"$1"