mirror of
https://github.com/ascii-boxes/boxes.git
synced 2024-12-04 22:11:07 +01:00
Add sunny-day tests to GitHub workflow
This commit is contained in:
parent
89f0608504
commit
2727e0c997
10
.github/workflows/boxes.yml
vendored
10
.github/workflows/boxes.yml
vendored
@ -20,7 +20,7 @@ env:
|
|||||||
TERM: xterm-color
|
TERM: xterm-color
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build-linux:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@ -36,6 +36,9 @@ jobs:
|
|||||||
- name: Run white-box tests
|
- name: Run white-box tests
|
||||||
run: make utest
|
run: make utest
|
||||||
|
|
||||||
|
- name: Run sunny-day tests
|
||||||
|
run: make covtest-sunny
|
||||||
|
|
||||||
- name: Run black-box tests
|
- name: Run black-box tests
|
||||||
run: make covtest
|
run: make covtest
|
||||||
|
|
||||||
@ -70,6 +73,9 @@ jobs:
|
|||||||
- name: Run white-box tests
|
- name: Run white-box tests
|
||||||
run: make utest
|
run: make utest
|
||||||
|
|
||||||
|
- name: Run sunny-day tests
|
||||||
|
run: make covtest-sunny
|
||||||
|
|
||||||
- name: Run black-box tests
|
- name: Run black-box tests
|
||||||
run: make covtest
|
run: make covtest
|
||||||
|
|
||||||
@ -83,7 +89,7 @@ jobs:
|
|||||||
parallel: true
|
parallel: true
|
||||||
|
|
||||||
finish:
|
finish:
|
||||||
needs: [build, build-macos]
|
needs: [build-linux, build-macos]
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
6
Makefile
6
Makefile
@ -200,6 +200,12 @@ win32.utest: $(OUT_DIR)
|
|||||||
$(MAKE) -C utest BOXES_PLATFORM=win32 C_INCLUDE_PATH=../$(PCRE2_DIR)/src:../$(WIN_CMOCKA_DIR)/include \
|
$(MAKE) -C utest BOXES_PLATFORM=win32 C_INCLUDE_PATH=../$(PCRE2_DIR)/src:../$(WIN_CMOCKA_DIR)/include \
|
||||||
LDFLAGS_ADDTL="-L../$(PCRE2_DIR)/.libs -L../$(WIN_CMOCKA_DIR)/lib" utest
|
LDFLAGS_ADDTL="-L../$(PCRE2_DIR)/.libs -L../$(WIN_CMOCKA_DIR)/lib" utest
|
||||||
|
|
||||||
|
test-sunny:
|
||||||
|
cd test; ./test-sunny-days-all.sh
|
||||||
|
|
||||||
|
covtest-sunny:
|
||||||
|
cd test; ./test-sunny-days-all.sh --coverage
|
||||||
|
|
||||||
|
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
# Cleanup
|
# Cleanup
|
||||||
|
Loading…
Reference in New Issue
Block a user