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

Add Alpine Linux build #28

Merged
merged 22 commits into from
Mar 23, 2022
Merged

Add Alpine Linux build #28

merged 22 commits into from
Mar 23, 2022

Conversation

ronaldtse
Copy link

Add Alpine Linux build, fixes #27

@ronaldtse
Copy link
Author

GitHub Actions is down at the moment, will re-check tomorrow.

CMakeLists.txt Outdated Show resolved Hide resolved
CMakeLists.txt Outdated Show resolved Hide resolved
@ronaldtse
Copy link
Author

There is also this error in the Ubuntu build:

CMake Error at CMakeLists.txt:254 (include):
[28](https://github.com/metanorma/libemf2svg/runs/5649202688?check_suite_focus=true#step:5:28)
  include could not find requested file:
[29](https://github.com/metanorma/libemf2svg/runs/5649202688?check_suite_focus=true#step:5:29)

[30](https://github.com/metanorma/libemf2svg/runs/5649202688?check_suite_focus=true#step:5:30)
    CodeCoverage
[31](https://github.com/metanorma/libemf2svg/runs/5649202688?check_suite_focus=true#step:5:31)

[32](https://github.com/metanorma/libemf2svg/runs/5649202688?check_suite_focus=true#step:5:32)

[33](https://github.com/metanorma/libemf2svg/runs/5649202688?check_suite_focus=true#step:5:33)
CMake Error at CMakeLists.txt:255 (setup_target_for_coverage):
[34](https://github.com/metanorma/libemf2svg/runs/5649202688?check_suite_focus=true#step:5:34)
  Unknown CMake command "setup_target_for_coverage".

@maxirmx
Copy link
Collaborator

maxirmx commented Mar 22, 2022

There is also this error in the Ubuntu build:

CMake Error at CMakeLists.txt:254 (include):
[28](https://github.com/metanorma/libemf2svg/runs/5649202688?check_suite_focus=true#step:5:28)
  include could not find requested file:
[29](https://github.com/metanorma/libemf2svg/runs/5649202688?check_suite_focus=true#step:5:29)

[30](https://github.com/metanorma/libemf2svg/runs/5649202688?check_suite_focus=true#step:5:30)
    CodeCoverage
[31](https://github.com/metanorma/libemf2svg/runs/5649202688?check_suite_focus=true#step:5:31)

[32](https://github.com/metanorma/libemf2svg/runs/5649202688?check_suite_focus=true#step:5:32)

[33](https://github.com/metanorma/libemf2svg/runs/5649202688?check_suite_focus=true#step:5:33)
CMake Error at CMakeLists.txt:255 (setup_target_for_coverage):
[34](https://github.com/metanorma/libemf2svg/runs/5649202688?check_suite_focus=true#step:5:34)
  Unknown CMake command "setup_target_for_coverage".

It requires set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/cmake/")otherwise CodeCoverage function is not defined

@maxirmx
Copy link
Collaborator

maxirmx commented Mar 22, 2022

@ronaldtse I fixed build script but there is segfault with one of the tests on alpine

@ronaldtse
Copy link
Author

Thanks @maxirmx ! Can you help further find out where that segfault is due to?

@maxirmx
Copy link
Collaborator

maxirmx commented Mar 23, 2022

The test against Arabic/Hebrew charset fails. It may take some time to understand specifics of bidi (Unicode Bidirectional) implementation in Alpine Linux

@maxirmx maxirmx linked an issue Mar 23, 2022 that may be closed by this pull request
@maxirmx maxirmx merged commit e45823b into master Mar 23, 2022
@maxirmx maxirmx deleted the rt-add-alpine branch March 23, 2022 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add build for Alpine Linux Add release automation workflow
2 participants