-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
894d149
commit 3dd40ff
Showing
6 changed files
with
59 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
#!/bin/sh | ||
# FreeBSD CI Build Scripts | ||
# The flow of a FreeBSD CI (https://freebsdci.julialang.org) build: | ||
# | ||
# 1. `compile` | ||
# 2. `build-state` | ||
# 3. `runtests` | ||
# 4. `test-embedding` | ||
# | ||
# Detail of flow is controlled by the variable `factory` | ||
# here. | ||
# https://github.com/iblis17/julia-fbsd-buildbot/blob/master/master/master.cfg | ||
# | ||
# Usage: .freebsdci.sh <stage> | ||
|
||
set -xe | ||
|
||
build-state(){ | ||
gmake build-stats | ||
} | ||
|
||
compile(){ | ||
export MALLOC_CONF='junk:false' | ||
export VERBOSE=1 | ||
export FORCE_ASSERTIONS=1 | ||
export LLVM_ASSERTIONS=1 | ||
|
||
gmake all -j $MAKE_JOBS_NUMBER | ||
} | ||
|
||
runtests(){ | ||
export MALLOC_CONF='junk:false' | ||
export VERBOSE=1 | ||
export FORCE_ASSERTIONS=1 | ||
export LLVM_ASSERTIONS=1 | ||
export JULIA_TEST_MAXRSS_MB=600 | ||
export JULIA_CPU_CORES=$MAKE_JOBS_NUMBER | ||
|
||
gmake testall \ | ||
test-download \ | ||
test-pkg \ | ||
test-libgit2-online | ||
} | ||
|
||
test-embedding(){ | ||
export JULIA='../../julia' | ||
export BIN='../../tmp' | ||
|
||
mkdir -vp tmp | ||
gmake -C examples/embedding check | ||
} | ||
|
||
|
||
if [ -z $1 ] | ||
then | ||
exit 1 | ||
fi | ||
|
||
$1 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.