Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create ci #2

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Run tests

on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
branches:
- 6X_STABLE
pull_request:
branches:
- 6X_STABLE


jobs:
build_and_release:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
compiler: [gcc]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
with:
submodules: recursive

- name: Install dependencies
run: sudo bash README.ubuntu.bash


- name: Build
run: |
./configure --with-perl --with-python --with-libxml --disable-orca --prefix=/usr/local/gpdb \
--enable-depend --enable-cassert --enable-debug --without-mdblocales --without-zstd
export GPHOME=/usr/local/gpdb/
export PATH=$PATH:/usr/local/gpdb/bin
make -d
make && make install

- name: Check
run: make check

- name: Install check
run: make installcheck
69 changes: 34 additions & 35 deletions README.ubuntu.bash
Original file line number Diff line number Diff line change
@@ -1,41 +1,40 @@
#!/bin/bash

apt-get update
apt-get install -y \
bison \
ccache \
cmake \
curl \
flex \
git-core \
gcc \
g++ \
inetutils-ping \
krb5-kdc \
krb5-admin-server \
libapr1-dev \
libbz2-dev \
libcurl4-gnutls-dev \
libevent-dev \
libkrb5-dev \
libpam-dev \
libperl-dev \
libreadline-dev \
libssl-dev \
libxml2-dev \
libyaml-dev \
libzstd-dev \
locales \
net-tools \
ninja-build \
openssh-client \
openssh-server \
openssl \
python-dev \
python-pip \
python-psutil \
python-yaml \
zlib1g-dev
apt-get install -y bison
apt-get install -y ccache
apt-get install -y cmake
apt-get install -y curl
apt-get install -y flex
apt-get install -y git-core
apt-get install -y gcc
apt-get install -y g++
apt-get install -y inetutils-ping
apt-get install -y krb5-kdc
apt-get install -y krb5-admin-server
apt-get install -y libapr1-dev
apt-get install -y libbz2-dev
apt-get install -y libcurl4-gnutls-dev
apt-get install -y libevent-dev
apt-get install -y libkrb5-dev
apt-get install -y libpam-dev
apt-get install -y libperl-dev
apt-get install -y libreadline-dev
apt-get install -y libssl-dev
apt-get install -y libxml2-dev
apt-get install -y libyaml-dev
apt-get install -y libzstd-dev
apt-get install -y locales
apt-get install -y net-tools
apt-get install -y ninja-build
apt-get install -y openssh-client
apt-get install -y openssh-server
apt-get install -y openssl
apt-get install -y python-dev
apt-get install -y python-pip
apt-get install -y python-psutil
apt-get install -y python-yaml
apt-get install -y zlib1g-dev


pip install conan
Expand Down
Loading