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:
parent
77bfb4e37f
commit
ea2372c19a
17
.gitlab-ci.yml
Normal file
17
.gitlab-ci.yml
Normal 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/
|
||||
@ -1,6 +1,7 @@
|
||||
# Incompatible Timesharing System
|
||||
|
||||
[](https://travis-ci.org/PDP-10/its)
|
||||
[](https://travis-ci.org/PDP-10/its)
|
||||
[](https://gitlab.com/PDP-10/its/commits/master)
|
||||
|
||||
### About ITS
|
||||
|
||||
|
||||
@ -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
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user