Skip to content

Commit

Permalink
Enable build w/o libc
Browse files Browse the repository at this point in the history
We still have to figure out a way to test this.
  • Loading branch information
thetic committed Oct 31, 2022
1 parent 3650806 commit 28a6ea0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/extended.yml
Expand Up @@ -106,11 +106,8 @@ jobs:
uses: actions/checkout@main
- name: Configure
run: cmake --preset no-std-c
# FIXME: This is broken.
# - name: Build
# run: cmake --build cpputest_build --verbose
# - name: Test
# run: ctest --test-dir cpputest_build
- name: Build
run: cmake --build cpputest_build --verbose

cmake_install:
runs-on: ubuntu-latest
Expand Down
5 changes: 3 additions & 2 deletions CMakePresets.json
Expand Up @@ -88,10 +88,11 @@
"name": "no-std-c",
"inherits": ["GNU"],
"environment": {
"CXXFLAGS": "-nostdinc",
"CFLAGS": "-nostdinc"
"CXXFLAGS": "-Werror -nostdinc",
"CFLAGS": "-Werror -nostdinc"
},
"cacheVariables": {
"CMAKE_SYSTEM_NAME": "Generic",
"CPPUTEST_STD_C_LIB_DISABLED": true
}
},
Expand Down

0 comments on commit 28a6ea0

Please sign in to comment.