mirror of
https://github.com/facebook/zstd.git
synced 2025-08-07 06:23:00 +03:00
[CI][linux-kernel] Enable -Wunused-const-variable and -Wunused-but-set-variable
This commit is contained in:
2
.github/workflows/linux-kernel.yml
vendored
2
.github/workflows/linux-kernel.yml
vendored
@@ -10,4 +10,4 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Create linux kernel library + build + test
|
- name: Create linux kernel library + build + test
|
||||||
run: make -C contrib/linux-kernel test
|
run: make -C contrib/linux-kernel test CFLAGS="-Werror -Wunused-const-variable -Wunused-but-set-variable"
|
||||||
|
@@ -65,7 +65,7 @@ import: libzstd
|
|||||||
|
|
||||||
.PHONY: test
|
.PHONY: test
|
||||||
test: libzstd
|
test: libzstd
|
||||||
$(MAKE) -C test run-test CFLAGS="-O3" -j
|
$(MAKE) -C test run-test CFLAGS="-O3 $(CFLAGS)" -j
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
|
Reference in New Issue
Block a user