Skip to content

Commit

Permalink
.github: add codecov report
Browse files Browse the repository at this point in the history
  • Loading branch information
Gottox committed Aug 29, 2023
1 parent c735b2c commit 7e4ab4b
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/codecov.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: CodeCov
on:
push:
branches: [ "main" ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: install tools
run: |
apt update
apt install --yes \
build-essential \
meson \
pkg-config \
libfuse-dev \
libfuse3-dev \
liblz4-dev \
liblzma-dev \
zlib1g-dev \
libzstd-dev \
libcurl4-openssl-dev \
squashfs-tools
- name: configure
run: |
CC=gcc meson setup /tmp/build \
-Db_coverage=true \
-Dwerror=true \
-Dexamples=true \
-Dcurl=enabled \
-Dzlib=enabled \
-Dlz4=enabled \
-Dlzma=enabled \
-Dzstd=enabled \
-Dthreads=enabled \
-Dfuse-old=enabled \
-Dtest=extended
- name: test
run: |
ninja -C /tmp/build test

0 comments on commit 7e4ab4b

Please sign in to comment.