summaryrefslogtreecommitdiffstats
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml22
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
#