2023-01-30 16:37:04 +00:00
|
|
|
name: CKZG tests
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
|
|
|
|
jobs:
|
2023-02-01 14:48:29 +00:00
|
|
|
test-ckzg:
|
2023-01-30 16:37:04 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
with:
|
|
|
|
submodules: recursive
|
|
|
|
- name: Build
|
|
|
|
run: |
|
|
|
|
cd src
|
|
|
|
make blst
|
|
|
|
make
|
|
|
|
- name: Test
|
|
|
|
run: |
|
|
|
|
cd src
|
|
|
|
make test
|
2023-02-11 16:03:35 +00:00
|
|
|
- name: Clang Static Analyzer
|
|
|
|
run: |
|
|
|
|
cd src
|
|
|
|
make analyze
|
2023-02-01 07:58:52 +00:00
|
|
|
- name: Install LLVM
|
|
|
|
uses: egor-tensin/setup-clang@v1
|
|
|
|
- name: Generate coverage report
|
|
|
|
run: |
|
|
|
|
cd src
|
|
|
|
make test_cov
|
|
|
|
- name: Save coverage report
|
|
|
|
uses: actions/upload-artifact@v3
|
|
|
|
with:
|
|
|
|
name: coverage
|
|
|
|
path: src/coverage.html
|