Skip to content

Commit

Permalink
Refactor build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewSazonov committed Jul 15, 2024
1 parent 85c3a16 commit 134e715
Show file tree
Hide file tree
Showing 3 changed files with 242 additions and 276 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,24 +76,22 @@ jobs:
scripts/create_cfml_repo_dir.sh
scripts/create_cfml_build_dir.sh
scripts/create_cfml_dist_dir.sh
scripts/create_pycfml_repo_dir.sh
scripts/create_pycfml_src_dir.sh
scripts/create_pycfml_build_dir.sh
scripts/create_pycfml_dist_dir.sh
- name: Download CFML and PYCFML repositories
- name: Download PYCFML repository
shell: bash
run: |
scripts/download_cfml_repo.sh
scripts/download_pycfml_repo.sh
run: scripts/download_cfml_repo.sh

- name: Build CFML static library
shell: bash
run: |
scripts/rename_global_deps_file.sh
scripts/build_cfml_objs.sh
scripts/build_cfml_modules_obj.sh
scripts/delete_renamed_global_deps_file.sh
scripts/build_cfml_static_lib.sh
scripts/copy_built_to_cfml_dist.sh
scripts/move_built_to_cfml_dist.sh
#- name: Build und run CFML functional test programs (incl. benchmarks)
# # 1st combination: this always fails with 'Undefined symbols...' error
Expand All @@ -119,11 +117,14 @@ jobs:
# shell: bash
# run: scripts/copy_powder_mod_to_pycfml_repo.sh

- name: Build CFML wraps and PYCFML shared obj or dynamic library
- name: Create PYCFML source code
shell: bash
run: scripts/create_pycfml_src.sh

- name: Build PYCFML shared obj / dynamic library
shell: bash
run: |
scripts/create_pycfml_wraps_src.sh
scripts/build_pycfml_wraps_objs.sh
scripts/build_pycfml_modules_obj.sh
scripts/build_pycfml_lib_obj.sh
scripts/build_pycfml_shared_obj_or_dynamic_lib.sh
scripts/copy_built_to_pycfml_dist.sh
Expand Down
Loading

0 comments on commit 134e715

Please sign in to comment.