Attempting to setup CI.
parent
d073b9ef34
commit
f65d3c8875
@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/bash -x
|
||||||
|
|
||||||
|
function ExitIfNonZero {
|
||||||
|
if [ $1 -ne 0 ]; then
|
||||||
|
exit $1
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
xbuild /p:NoWarn=1584 DepotDownloader.sln /target:DepotDownloader
|
||||||
|
ExitIfNonZero $?
|
@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/bash -x
|
||||||
|
|
||||||
|
# Try 10 times
|
||||||
|
for iter in {1..10}
|
||||||
|
do
|
||||||
|
("$@")
|
||||||
|
if [[ $? -eq 0 ]]
|
||||||
|
then
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
done
|
@ -0,0 +1,24 @@
|
|||||||
|
language: c
|
||||||
|
|
||||||
|
env:
|
||||||
|
- EnableNuGetPackageRestore=true
|
||||||
|
|
||||||
|
before_install:
|
||||||
|
# Make sure mono is installed,
|
||||||
|
# pipe stdout to dev/null because qq is still too chatty
|
||||||
|
- sudo apt-get update -qq > /dev/null
|
||||||
|
- sudo apt-get install -qq mono-devel > /dev/null
|
||||||
|
# update root certs for nuget
|
||||||
|
- mozroots --import --sync
|
||||||
|
|
||||||
|
script:
|
||||||
|
- .ci/build.sh
|
||||||
|
- .ci/test.sh
|
||||||
|
|
||||||
|
notifications:
|
||||||
|
irc:
|
||||||
|
channels:
|
||||||
|
- "irc.gamesurge.net#opensteamworks"
|
||||||
|
on_success: always
|
||||||
|
on_failure: always
|
||||||
|
skip_join: true
|
Loading…
Reference in New Issue