diff options
author | Takayuki Matsuoka <t-mat@users.noreply.github.com> | 2021-09-06 16:03:47 (GMT) |
---|---|---|
committer | Takayuki Matsuoka <t-mat@users.noreply.github.com> | 2021-09-06 16:03:47 (GMT) |
commit | 099d9a28a061b66d7012f38ff1e2d6e28ee00e8e (patch) | |
tree | 106a7c5e1aa45d188e1d87d00dc11654c17aadaf /.github | |
parent | 2fbf12add7ad3570e6e606d6d49ac50355f31e29 (diff) | |
download | lz4-099d9a28a061b66d7012f38ff1e2d6e28ee00e8e.zip lz4-099d9a28a061b66d7012f38ff1e2d6e28ee00e8e.tar.gz lz4-099d9a28a061b66d7012f38ff1e2d6e28ee00e8e.tar.bz2 |
Add test for examples/
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 74e203d..bd5c894 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 # |