Add test for examples/

This commit is contained in:
Takayuki Matsuoka 2021-09-07 01:03:47 +09:00
parent 2fbf12add7
commit 099d9a28a0

View File

@ -265,6 +265,7 @@ jobs:
# - ubsan
# - asan
# - unicode-lint
# - build examples
#
lz4-cppcheck:
name: make cppcheck
@ -392,6 +393,27 @@ jobs:
run: bash ./tests/unicode_lint.sh
lz4-examples:
name: make examples
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2 # https://github.com/actions/checkout
- name: apt-get install
run: |
sudo apt-get update
- name: Environment info
run: |
echo && type $CC && which $CC && $CC --version
echo && type $CXX && which $CXX && $CXX --version
- name: examples
run: make V=1 clean examples
- name: examples (compile as C++ code)
run: make V=1 -C examples clean cxxtest
###############################################################
# Platforms
#