Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
haf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
haf
Commits
fb0504f9
Commit
fb0504f9
authored
3 years ago
by
Marcin
Browse files
Options
Downloads
Plain Diff
Merge branch 'mi_ci_compiles_hived' into 'develop'
Mi ci compiles hived See merge request
!6
parents
c8688161
fbf26dfe
No related branches found
No related tags found
2 merge requests
!55
Pre-release version of HAF implementation
,
!6
Mi ci compiles hived
Pipeline
#33688
passed
3 years ago
Stage: build_and_test
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+16
-11
16 additions, 11 deletions
.gitlab-ci.yml
CMakeLists.txt
+1
-2
1 addition, 2 deletions
CMakeLists.txt
hive
+1
-1
1 addition, 1 deletion
hive
with
18 additions
and
14 deletions
.gitlab-ci.yml
+
16
−
11
View file @
fb0504f9
...
@@ -20,14 +20,19 @@ hive_fork_manager:
...
@@ -20,14 +20,19 @@ hive_fork_manager:
tags
:
tags
:
-
public-runner-docker
-
public-runner-docker
# c++_unit_tests:
hived
:
# stage: build_and_test
stage
:
build_and_test
# image: "$CI_REGISTRY_IMAGE/builder$BUILDER_IMAGE_TAG"
image
:
"
$CI_REGISTRY_IMAGE/builder$BUILDER_IMAGE_TAG"
# script:
script
:
# - mkdir -p "$CI_JOB_NAME"/build
-
/etc/init.d/postgresql start
# - cd "$CI_JOB_NAME"/build
-
mkdir -p "$CI_JOB_NAME"/build
# - cmake -DCMAKE_BUILD_TYPE=Release ../..
-
cd "$CI_JOB_NAME"/build
# - make
-
cmake -DCMAKE_BUILD_TYPE=Release -DCLEAR_VOTES=ON -DENABLE_MIRA=OFF -DBUILD_HIVE_TESTNET=OFF -DHIVE_LINT=OFF ../..
# - ctest --output-on-failure -R test.unit.*
-
make hived -j10
# tags:
# check if sql_serializer compiles with hived
# - public-runner-docker
-
test -f hive/libraries/plugins/sql_serializer/libsql_serializer_plugin.a
\ No newline at end of file
# check if sql_serializer plugin is included in hived plugins
-
cd ./hive/programs/hived
-
./hived --help | grep psql-url
tags
:
-
public-runner-docker
This diff is collapsed.
Click to expand it.
CMakeLists.txt
+
1
−
2
View file @
fb0504f9
...
@@ -3,6 +3,7 @@ CMAKE_MINIMUM_REQUIRED( VERSION 3.14 )
...
@@ -3,6 +3,7 @@ CMAKE_MINIMUM_REQUIRED( VERSION 3.14 )
PROJECT
(
haf
)
PROJECT
(
haf
)
SET
(
Boost_NO_BOOST_CMAKE ON CACHE STRING
"ON or OFF"
FORCE
)
SET
(
Boost_NO_BOOST_CMAKE ON CACHE STRING
"ON or OFF"
FORCE
)
SET
(
HAF_DIRECTORY
${
CMAKE_CURRENT_SOURCE_DIR
}
)
SET
(
HAF_DIRECTORY
${
CMAKE_CURRENT_SOURCE_DIR
}
)
FILE
(
CREATE_LINK
${
CMAKE_CURRENT_SOURCE_DIR
}
/src/sql_serializer
${
CMAKE_CURRENT_SOURCE_DIR
}
/hive/libraries/plugins/sql_serializer SYMBOLIC
)
ADD_SUBDIRECTORY
(
hive EXCLUDE_FROM_ALL
)
ADD_SUBDIRECTORY
(
hive EXCLUDE_FROM_ALL
)
SET_TARGET_PROPERTIES
(
hived PROPERTIES EXCLUDE_FROM_ALL 0
)
SET_TARGET_PROPERTIES
(
hived PROPERTIES EXCLUDE_FROM_ALL 0
)
...
@@ -29,8 +30,6 @@ INCLUDE( tests )
...
@@ -29,8 +30,6 @@ INCLUDE( tests )
SETUP_OUTPUT_DIRECTORIES
()
SETUP_OUTPUT_DIRECTORIES
()
FILE
(
CREATE_LINK
${
CMAKE_CURRENT_SOURCE_DIR
}
/src/sql_serializer
${
CMAKE_CURRENT_SOURCE_DIR
}
/hive/libraries/plugins/sql_serializer SYMBOLIC
)
GENERATE_GIT_VERSION_FILE
()
GENERATE_GIT_VERSION_FILE
()
GET_RUNTIME_POSTGRES_VARIABLES
()
GET_RUNTIME_POSTGRES_VARIABLES
()
...
...
This diff is collapsed.
Click to expand it.
hive
@
4ffa7069
Compare
cbe4c91b
...
4ffa7069
Subproject commit
cbe4c91b817296c014ddd5fe28d1ae3cdd385873
Subproject commit
4ffa7069efb4ce4bb9911e1d897a20f7e36a3724
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment