1
0
mirror of https://github.com/PDP-10/its.git synced 2026-01-13 07:19:57 +00:00

Build with GitLab CI.

This commit is contained in:
Lars Brinkhoff 2018-03-23 14:04:58 +01:00 committed by Eric Swenson
parent 77bfb4e37f
commit ea2372c19a
3 changed files with 28 additions and 2 deletions

17
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,17 @@
image: ubuntu
variables:
EMULATOR: klh10
stages:
- build
job1:
stage: build
script:
- sh -ex build/dependencies.sh install_linux
- git submodule update --init
- make
artifacts:
paths:
- out/

View File

@ -1,6 +1,7 @@
# Incompatible Timesharing System
[![Build Status](https://travis-ci.org/PDP-10/its.svg?branch=master)](https://travis-ci.org/PDP-10/its)
[![Travis CI Build Status](https://travis-ci.org/PDP-10/its.svg?branch=master)](https://travis-ci.org/PDP-10/its)
[![GitLab CI Build Status](https://gitlab.com/PDP-10/its/badges/master/pipeline.svg)](https://gitlab.com/PDP-10/its/commits/master)
### About ITS

View File

@ -1,8 +1,16 @@
if test -n "$GITLAB_CI"; 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
if test "$EMULATOR" = simh; then
sudo apt-get install simh
sudo apt-get install -y simh
fi
}