mirror of https://github.com/cc65/cc65.git
rename the "check" target to "checkstyle".
also created a new "check" target which runs all tests, as it is common with GNU programs
This commit is contained in:
parent
1a5852ab91
commit
75441afb71
|
@ -23,7 +23,7 @@ jobs:
|
||||||
|
|
||||||
- name: Do some simple style checks
|
- name: Do some simple style checks
|
||||||
shell: bash
|
shell: bash
|
||||||
run: make -j2 check
|
run: make -j2 checkstyle
|
||||||
- name: Build the tools.
|
- name: Build the tools.
|
||||||
shell: bash
|
shell: bash
|
||||||
run: make -j2 bin USER_CFLAGS=-Werror
|
run: make -j2 bin USER_CFLAGS=-Werror
|
||||||
|
|
|
@ -48,7 +48,7 @@ jobs:
|
||||||
|
|
||||||
- name: Do some simple style checks
|
- name: Do some simple style checks
|
||||||
shell: bash
|
shell: bash
|
||||||
run: make -j2 check
|
run: make -j2 checkstyle
|
||||||
- name: Build the tools.
|
- name: Build the tools.
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
|
23
Makefile
23
Makefile
|
@ -1,4 +1,4 @@
|
||||||
.PHONY: all mostlyclean clean install zip avail unavail bin lib doc html info samples test util check
|
.PHONY: all mostlyclean clean install zip avail unavail bin lib doc html info samples test util checkstyle check
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
|
|
||||||
|
@ -30,12 +30,6 @@ doc html info:
|
||||||
samples:
|
samples:
|
||||||
@$(MAKE) -C samples --no-print-directory $@
|
@$(MAKE) -C samples --no-print-directory $@
|
||||||
|
|
||||||
test:
|
|
||||||
@$(MAKE) -C test --no-print-directory $@
|
|
||||||
|
|
||||||
check:
|
|
||||||
@$(MAKE) -C .github/checks --no-print-directory $@
|
|
||||||
|
|
||||||
util:
|
util:
|
||||||
@$(MAKE) -C util --no-print-directory $@
|
@$(MAKE) -C util --no-print-directory $@
|
||||||
|
|
||||||
|
@ -44,3 +38,18 @@ util:
|
||||||
|
|
||||||
%:
|
%:
|
||||||
@$(MAKE) -C libsrc --no-print-directory $@
|
@$(MAKE) -C libsrc --no-print-directory $@
|
||||||
|
|
||||||
|
# check the code style
|
||||||
|
checkstyle:
|
||||||
|
@$(MAKE) -C .github/checks --no-print-directory $@
|
||||||
|
|
||||||
|
# simple "test" target, only run regression tests for c64 target
|
||||||
|
test:
|
||||||
|
@$(MAKE) -C test --no-print-directory $@
|
||||||
|
|
||||||
|
# GNU "check" target, which runs all tests
|
||||||
|
check:
|
||||||
|
@$(MAKE) -C .github/checks --no-print-directory $@
|
||||||
|
@$(MAKE) test
|
||||||
|
@$(MAKE) -C targettest platforms --no-print-directory
|
||||||
|
@$(MAKE) -C samples platforms --no-print-directory
|
||||||
|
|
Loading…
Reference in New Issue