Compare commits

..

14 Commits

4 changed files with 36 additions and 7 deletions

2
Dockerfile.jenkins Normal file
View File

@ -0,0 +1,2 @@
FROM schemers/gauche
RUN apt update && apt install -y make wget guix

27
Jenkinsfile vendored Normal file
View File

@ -0,0 +1,27 @@
pipeline {
agent {
dockerfile {
filename 'Dockerfile.jenkins'
dir '.'
args '-u root --privileged'
}
}
triggers {
cron("59 23 * * 1") // Build every monday
}
options {
buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '10'))
}
stages {
stage("Build") {
steps {
sh 'make'
}
}
}
}

View File

@ -47,26 +47,24 @@ or:
## Using the libraries ## Using the libraries
When you install a library it will be in path: When using Guix system on Guix shell environment variable **SNOW_LIBRARY_PATH** will be set.
${SNOW_LIBRARY_PATH}/usr/lib/snow To use the libraries add the environment variable into your implementations load path.
To use the libraries add the installation path into your implementations load path.
Example with Guile: Example with Guile:
guix install snow-arvyy-mustache guix install snow-arvyy-mustache
guile --r7rs -L ${SNOW_LIBRARY_PATH}/usr/lib/snow guile --r7rs -L ${SNOW_LIBRARY_PATH}
Example with Gauche: Example with Gauche:
guix install snow-arvyy-mustache guix install snow-arvyy-mustache
gosh -r7 -A ${SNOW_LIBRARY_PATH}/usr/lib/snow gosh -r7 -A ${SNOW_LIBRARY_PATH}
Example with Sagittarius: Example with Sagittarius:
guix install snow-arvyy-mustache guix install snow-arvyy-mustache
sash -r7 -L ${SNOW_LIBRARY_PATH}/usr/lib/snow sash -r7 -L ${SNOW_LIBRARY_PATH}
## Installing SRFI libraries ## Installing SRFI libraries

View File

@ -1,5 +1,7 @@
#!/bin/sh #!/bin/sh
set -eu
TMPDIR=${1} TMPDIR=${1}
cd ${TMPDIR} || exit 1 cd ${TMPDIR} || exit 1