hugely optimize the decompression #98
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Ubuntu-x86_64 | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
env: | |
BUILD_TYPE: Release | |
VCPKG_DEFAULT_BINARY_CACHE: ${{ github.workspace }}/cache | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install packages | |
run: | | |
sudo apt update | |
sudo apt install cmake zlib1g-dev libpcre2-dev clang lcov libcunit1-dev valgrind | |
- name: Configure CMake | |
run: cmake -DCOVERAGE=ON -DBUILD_TESTS=ON . | |
- name: Build | |
run: make | |
- name: Coverage | |
run: make test | |
- name: Test | |
run: make coverage | |
- name: Memory checks | |
run: valgrind --tool=memcheck --leak-check=yes --show-reachable=yes --num-callers=20 --track-fds=yes --track-origins=yes --error-exitcode=42 ./wows-depack-test |