diff options
author | Christopher Haster <geky@geky.net> | 2022-12-07 08:08:53 +0300 |
---|---|---|
committer | Christopher Haster <geky@geky.net> | 2022-12-07 08:08:53 +0300 |
commit | 0c781dd8220f993c3b898603e9d4750e5b4e2e45 (patch) | |
tree | 3fc8020e74c519f75dc0d0ab61974484cdc6c21b /.github | |
parent | 4a209344d4eae6aad1c8ce1f52cda80ce409402f (diff) | |
parent | 6a53d76e90af33f0656333c1db09bd337fa75d23 (diff) |
Merge remote-tracking branch 'origin/master' into test-and-bench-runners
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/test.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a5abd22..68953d8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -463,6 +463,27 @@ jobs: path: status retention-days: 1 + # test that compilation is warning free under clang + clang: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v2 + - name: install + run: | + # need toml, also pip3 isn't installed by default? + sudo apt-get update -qq + sudo apt-get install -qq python3 python3-pip + sudo pip3 install toml + - name: install-clang + run: | + sudo apt-get update -qq + sudo apt-get install -qq clang + echo "CC=clang" >> $GITHUB_ENV + clang --version + # no reason to not test again + - name: test-clang + run: make test TESTFLAGS+="-k" + # self-host with littlefs-fuse for a fuzz-like test fuse: runs-on: ubuntu-22.04 |