ADD: First implementation of find_or_try_insert_with. #13
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: build-and-test | |
on: | |
push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: gcc:14 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Doctest | |
run: | | |
apt update -y | |
apt install -y doctest-dev | |
- name: Build | |
run: | | |
mkdir build | |
cd build | |
g++ -std=c++20 -Wall -Wextra -Wconversion -Werror -I../include ../tests/memo_cache.cpp -o memo_cache | |
- name: Test | |
run: | | |
cd build | |
./memo_cache -s |