Skip to content

Commit

Permalink
Automatic package building ECFLOW-1967
Browse files Browse the repository at this point in the history
  • Loading branch information
iainrussell committed Sep 20, 2024
1 parent 30656f8 commit 2883cd8
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
12 changes: 12 additions & 0 deletions .github/cd-ui-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
cmake_options: >-
-DBOOST_ROOT=${BOOST_ROOT_DIR} -DBOOST_INCLUDEDIR=${BOOST_INCLUDE_DIR} -DBOOST_LIBRARYDIR=${BOOST_LIB_DIR}
-DBoost_DEBUG=ON -DOPENSSL_ROOT_DIR=${OPENSSL_ROOT_DIR} -DENABLE_STATIC_BOOST_LIBS=OFF
-DINSTALL_PYTHON3_DIR=lib/python3/dist-packages
-DENABLE_ALL_TESTS=ON -DENABLE_SSL=ON -DENABLE_SERVER=OFF -DENABLE_HTTP=OFF -DENABLE_UDP=OFF -DENABLE_PYTHON=OFF
-DENABLE_UI=ON -DUI_SYSTEM_SERVERS_LIST=/ec/vol/ecflow_def/servers.list.all
-DCMAKE_INSTALL_PREFIX=/opt/ecmwf/ecflow-ui
ctest_options: -L nightly -E s_test|s_zombies
dependencies: |
ecmwf/ecbuild
dependency_branch: develop
parallelism_factor: 8
13 changes: 11 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,19 @@ on:
workflow_dispatch: ~

jobs:
deploy:
uses: ecmwf-actions/reusable-workflows/.github/workflows/create-package.yml@create-packages-custom-config
deploy-server:
uses: ecmwf-actions/reusable-workflows/.github/workflows/create-package.yml@v2
with:
skip_checks: true
restrict_matrix_jobs: gnu@debian-12
build_config: .github/cd-server-config.yml
secrets: inherit

deploy-ui:
uses: ecmwf-actions/reusable-workflows/.github/workflows/create-package.yml@v2
with:
skip_checks: true
restrict_matrix_jobs: gnu@debian-12
build_config: .github/cd-ui-config.yml
cpack_options: -DCPACK_PACKAGE_NAME=ecflow-ui
secrets: inherit

0 comments on commit 2883cd8

Please sign in to comment.