[A] Add build with tcc to CI
This commit is contained in:
parent
c3f9f302a3
commit
bcce3c12cc
15
.drone.yml
15
.drone.yml
@ -19,6 +19,21 @@ steps:
|
|||||||
- ls
|
- ls
|
||||||
- ctest -VV
|
- 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
|
kind: pipeline
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
### Internal
|
### Internal
|
||||||
|
|
||||||
- Fix compilation for compilers other than gcc, clang, msvc.
|
- Fix compilation for compilers other than gcc, clang, msvc.
|
||||||
|
- Add build with tcc to CI.
|
||||||
|
|
||||||
## v0.3.1
|
## v0.3.1
|
||||||
|
|
||||||
|
@ -439,7 +439,7 @@ extern "C" {
|
|||||||
#define utf8_nonnull
|
#define utf8_nonnull
|
||||||
#define utf8_pure
|
#define utf8_pure
|
||||||
#define utf8_restrict
|
#define utf8_restrict
|
||||||
#define utf8_weak
|
#define utf8_weak inline
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
@ -74,7 +74,7 @@ extern "C" {
|
|||||||
#define utf8_nonnull
|
#define utf8_nonnull
|
||||||
#define utf8_pure
|
#define utf8_pure
|
||||||
#define utf8_restrict
|
#define utf8_restrict
|
||||||
#define utf8_weak
|
#define utf8_weak inline
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
Loading…
Reference in New Issue
Block a user