mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-26 06:40:12 +01:00
2dc31b59c0
Signed-off-by: Janos SUTO <sj@acts.hu>
31 lines
1.0 KiB
YAML
31 lines
1.0 KiB
YAML
# This is a sample build configuration for all languages.
|
|
# Check our guides at https://confluence.atlassian.com/x/VYk8Lw for more examples.
|
|
# Only use spaces to indent your .yml configuration.
|
|
# -----
|
|
# You can specify a custom docker image from Docker Hub as your build environment.
|
|
|
|
image: sutoj/builder:xenial
|
|
clone:
|
|
depth: 5
|
|
|
|
pipelines:
|
|
default:
|
|
- step:
|
|
script:
|
|
- echo "Everything is awesome!"
|
|
|
|
branches:
|
|
epoll:
|
|
- step:
|
|
script:
|
|
- service mysql start
|
|
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-database=mariadb --enable-tcpwrappers
|
|
- make clean all install
|
|
- echo "create database piler character set 'utf8mb4'" | mysql
|
|
- echo "grant all privileges on piler.* to piler@localhost identified by 'piler123'" | mysql
|
|
- echo "flush privileges" | mysql
|
|
- mysql -u piler -ppiler123 piler < /usr/share/piler/db-mysql.sql
|
|
- cd unit_tests
|
|
- ./run.sh
|
|
|