[A] Add build with tcc to CI

This commit is contained in:
seleznevae 2019-11-30 15:09:40 +03:00
parent c3f9f302a3
commit bcce3c12cc
4 changed files with 19 additions and 3 deletions

View File

@ -19,6 +19,21 @@ steps:
- ls
- ctest -VV
- name: test-tcc-compiler
image: alpine
commands:
- apk add gcc g++ cmake make binutils-gold tcc
- ls
- uname -a
- mkdir -p build
- cd build
# Tests with wchar don't pass
- cmake .. -DCMAKE_C_COMPILER=/usr/bin/tcc -DFORT_ENABLE_WCHAR=OFF
- cmake --build . --target libfort_test_dev
- ./tests/libfort_test_dev
- cmake --build . --target libfort_test
- ./tests/libfort_test
---
kind: pipeline

View File

@ -7,6 +7,7 @@
### Internal
- Fix compilation for compilers other than gcc, clang, msvc.
- Add build with tcc to CI.
## v0.3.1

View File

@ -439,7 +439,7 @@ extern "C" {
#define utf8_nonnull
#define utf8_pure
#define utf8_restrict
#define utf8_weak
#define utf8_weak inline
#endif
#ifdef __cplusplus

View File

@ -74,7 +74,7 @@ extern "C" {
#define utf8_nonnull
#define utf8_pure
#define utf8_restrict
#define utf8_weak
#define utf8_weak inline
#endif
#ifdef __cplusplus