fix(utfcpp)

closes #3957
closes #3884
This commit is contained in:
Jacob Heider 2023-11-07 18:20:43 -05:00 committed by Jacob Heider
parent 14e08fad8c
commit c592909465

View file

@ -12,11 +12,17 @@ build:
cmake.org: '*' cmake.org: '*'
darwin: darwin:
gnu.org/gcc: '*' gnu.org/gcc: '*'
working-directory: build working-directory: build
script: script:
- cmake .. $ARGS - cmake .. $ARGS
- make --jobs {{ hw.concurrency }} install - make --jobs {{ hw.concurrency }} install
# currently, their builds are just broken :(
- run: |
ln -s . include/utf8cpp
mkdir -p lib/cmake
ln -s ../../share/utf8cpp/cmake lib/cmake/utf8cpp
working-directory: ${{prefix}}
if: '>=4'
env: env:
ARGS: ARGS:
- -DUTF8_INSTALL:BOOL=ON - -DUTF8_INSTALL:BOOL=ON
@ -33,10 +39,12 @@ build:
test: test:
dependencies: dependencies:
cmake.org: '*' cmake.org: '*'
darwin: gnu.org/gcc: '*'
gnu.org/gcc: '*' gnu.org/make: '*'
linux:
script: script:
# currently, their builds are just broken :(
- run: sed -i.bak 's/PRIVATE utf8cpp/PRIVATE utf8cpp::utf8cpp/g' CMakeLists.txt
if: '>=4'
- cmake . -DCMAKE_PREFIX_PATH:STRING="test" -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON - cmake . -DCMAKE_PREFIX_PATH:STRING="test" -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
- make - make
- ./utf8_append - ./utf8_append