Fix yml and improve ci flow
This commit is contained in:
parent
1ec29a1bec
commit
1e654d1b9d
|
@ -1,7 +1,9 @@
|
||||||
build:
|
before_script:
|
||||||
script:
|
|
||||||
- "apt-get update -qq"
|
- "apt-get update -qq"
|
||||||
- "apt-get upgrade -y"
|
- "apt-get upgrade -y"
|
||||||
|
|
||||||
|
build:
|
||||||
|
script:
|
||||||
- "apt-get install -y --fix-missing git openssh-client asciidoc wget gcc g++ automake cmake make libglib2.0 libglib2.0-dev libigraph0 libigraph0-dev libevent-dev openssl libssl-dev"
|
- "apt-get install -y --fix-missing git openssh-client asciidoc wget gcc g++ automake cmake make libglib2.0 libglib2.0-dev libigraph0 libigraph0-dev libevent-dev openssl libssl-dev"
|
||||||
- "sh autogen.sh && ./configure && make"
|
- "sh autogen.sh && ./configure && make"
|
||||||
- "make check"
|
- "make check"
|
||||||
|
@ -9,8 +11,6 @@ build:
|
||||||
|
|
||||||
update:
|
update:
|
||||||
script:
|
script:
|
||||||
- "apt-get update -qq"
|
|
||||||
- "apt-get upgrade -y"
|
|
||||||
- "apt-get install -y --fix-missing git openssh-client"
|
- "apt-get install -y --fix-missing git openssh-client"
|
||||||
-
|
-
|
||||||
# Run ssh-agent (inside the build environment)
|
# Run ssh-agent (inside the build environment)
|
||||||
|
@ -31,8 +31,9 @@ update:
|
||||||
- mkdir -p ~/.ssh
|
- mkdir -p ~/.ssh
|
||||||
- '[[ -f /.dockerenv ]] && echo "$SSH_SERVER_HOSTKEYS" > ~/.ssh/known_hosts'
|
- '[[ -f /.dockerenv ]] && echo "$SSH_SERVER_HOSTKEYS" > ~/.ssh/known_hosts'
|
||||||
- echo "merging from torgit"
|
- echo "merging from torgit"
|
||||||
- git clone --bare https://git.torproject.org/tor.git
|
|
||||||
- "cd tor"
|
- "cd tor"
|
||||||
|
- "mkdir tor"
|
||||||
|
- git clone --bare https://git.torproject.org/tor.git
|
||||||
- git checkout master
|
- git checkout master
|
||||||
- git config --global user.email "labadmin@oniongit.eu"
|
- git config --global user.email "labadmin@oniongit.eu"
|
||||||
- git config --global user.name "gitadmin"
|
- git config --global user.name "gitadmin"
|
||||||
|
|
Loading…
Reference in New Issue