mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-23 00:46:30 +00:00
install sqlite and sassc from source
This commit is contained in:
parent
67c00fa6a9
commit
b02cee7a0e
3 changed files with 20 additions and 3 deletions
|
@ -8,8 +8,8 @@ env:
|
|||
- PATH=$PATH:$GOROOT/bin:$GOPATH/bin
|
||||
|
||||
script:
|
||||
- sudo apt-get -y -qq update
|
||||
- sudo apt-get -y -qq install libsqlite3-dev
|
||||
- bin/bash contrib/setup-sqlite.sh 1> /dev/null
|
||||
- bin/bash contrib/setup-sassc.sh 1> /dev/null
|
||||
- make deps
|
||||
- make
|
||||
- make test
|
||||
|
|
16
contrib/setup-sassc.sh
Executable file
16
contrib/setup-sassc.sh
Executable file
|
@ -0,0 +1,16 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
cd /tmp
|
||||
|
||||
rm -rf libsass
|
||||
rm -rf sassc
|
||||
|
||||
git clone --depth=1 git://github.com/sass/libsass.git
|
||||
git clone --depth=1 git://github.com/sass/sassc.git
|
||||
|
||||
export SASS_LIBSASS_PATH=/tmp/libsass
|
||||
|
||||
cd sassc
|
||||
make
|
||||
sudo make install
|
3
contrib/setup-sqlite.sh
Normal file → Executable file
3
contrib/setup-sqlite.sh
Normal file → Executable file
|
@ -1,4 +1,5 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
cd /tmp
|
||||
|
||||
|
@ -8,4 +9,4 @@ cd sqlite-autoconf-3081101
|
|||
cd sqlite-3.6.421
|
||||
./configure -prefix=/scratch/usr/local
|
||||
make
|
||||
make install
|
||||
sudo make install
|
||||
|
|
Loading…
Reference in a new issue