Skip to content

Commit

Permalink
Explicit C99 support
Browse files Browse the repository at this point in the history
We only use C99 for this program, so we should say so and test for it.

Signed-off-by: Joe Richey <joerichey@google.com>
  • Loading branch information
josephlr committed Feb 2, 2021
1 parent 96f64e1 commit 911b474
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ jobs:
run: sudo apt-get install -y clang $TEST_DEPENDENCIES
- name: Build and test
run: make test-all CC=${{ matrix.compiler }}
- name: C99 check
run: make clean && make CC=${{ matrix.compiler }} CFLAGS="$CFLAGS -std=c99"

build-and-test-32bit:
name: Build and test (32-bit)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ before using `fscryptctl`.
## Building and Installing

To build `fscryptctl`, run `make`. The only build dependencies are GNU Make and
a C compiler.
a C compiler (only C99 is needed).

To install `fscryptctl`, run `sudo make install`.

Expand Down

0 comments on commit 911b474

Please sign in to comment.