Reset data structure to clean state on pop() #14
Workflow file for this run
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: C++ CI Build | |
on: | |
pull_request: | |
branches: [master] | |
jobs: | |
build-and-test: | |
runs-on: [self-hosted, Linux, X64, ubuntu-latest-lts] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set PATH for pipx binaries | |
run: echo "PATH=$HOME/.local/bin:$PATH" >> $GITHUB_ENV | |
- name: Show ccache stats before build | |
run: ccache -s | |
- name: Get latest release tag | |
id: latest-tag | |
run: echo "::set-output name=tag::$(git describe --tags `git rev-list --tags --max-count=1`)" | |
- name: Cache ccache and dependencies | |
uses: actions/cache@v4 | |
with: | |
path: | | |
/home/gh-runner/.cache/ccache | |
key: ${{ runner.os }}-ccache-${{ steps.latest-tag.outputs.tag }} | |
restore-keys: | | |
${{ runner.os }}-ccache- | |
${{ runner.os }}-ccache-${{ steps.latest-tag.outputs.tag }} | |
- name: Install Package Dependencies | |
run: | | |
conan install . --build=missing | |
- name: Compile and Link | |
run: | | |
conan build . -pr:a vps-debug --build=missing | |
- name: Show ccache stats after build | |
run: ccache -s | |
- name: Run Tests | |
run: | | |
cd /home/gh-runner/actions-runner/_work/BoundedPriorityDeque/BoundedPriorityDeque | |
./build/meson/testDeque |