Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drop fmt from vcpkg.json #23

Merged
merged 6 commits into from
Oct 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ concurrency:

env:
CTEST_OUTPUT_ON_FAILURE: 1
CONTOUR_VERSION: "0.4.3.6442"
CONTOUR_VERSION: "0.5.0.7168"

jobs:

Expand All @@ -45,16 +45,16 @@ jobs:
run: ./scripts/check-includes.sh

ubuntu_linux:
name: "Ubuntu Linux 22.04"
runs-on: ubuntu-22.04
name: "Ubuntu Linux 24.04"
runs-on: ubuntu-24.04
env:
CMAKE_PRESET: "linux-gcc-release"
steps:
- uses: actions/checkout@v3
- name: ccache
uses: hendrikmuhs/ccache-action@v1
with:
key: "ccache-ubuntu_2204"
key: "ccache-ubuntu_2404"
max-size: 256M
- name: set environment variables
id: set_vars
Expand All @@ -67,18 +67,18 @@ jobs:
sudo apt -q update
sudo apt install -qy ninja-build
sudo ./scripts/install-deps.sh
- name: "Install GCC 13"
run: sudo apt install g++-13
- name: "Install GCC"
run: sudo apt install g++
- name: "cmake"
run: cmake --preset "$CMAKE_PRESET" -D CMAKE_CXX_COMPILER="g++-13"
run: cmake --preset "$CMAKE_PRESET" -D CMAKE_CXX_COMPILER="g++"
- name: "build"
run: cmake --build --preset "$CMAKE_PRESET" --preset -- -j3
- name: "install dependencies for running benchmarks"
run: ./scripts/xvfb-deps.sh
- name: "Install contour"
run: |
wget https://github.com/contour-terminal/contour/releases/download/v$CONTOUR_VERSION/contour-$CONTOUR_VERSION-ubuntu22.04-amd64.deb
sudo dpkg -i contour-$CONTOUR_VERSION-ubuntu22.04-amd64.deb
wget https://github.com/contour-terminal/contour/releases/download/v$CONTOUR_VERSION/contour-$CONTOUR_VERSION-ubuntu24.04-amd64.deb
sudo dpkg -i contour-$CONTOUR_VERSION-ubuntu24.04-amd64.deb
- name: "create and patch contour.yml config file"
run: |
set -ex
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ include(FetchContent)
FetchContent_Declare(
glaze
GIT_REPOSITORY https://github.com/stephenberry/glaze.git
GIT_TAG main
GIT_TAG v3.4.2
GIT_SHALLOW TRUE
)
FetchContent_MakeAvailable(glaze)
Expand Down
2 changes: 1 addition & 1 deletion libtermbench/termbench.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ void Benchmark::runAll()

void Benchmark::summarizeToJson(std::ostream& os)
{
std::string buffer = glz::write_json(results_);
std::string buffer = glz::write_json(results_).value_or("error");
os << buffer;
}

Expand Down
19 changes: 11 additions & 8 deletions scripts/xvfb-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,18 @@ packages="
xvfb \
\
ffmpeg \
libavcodec58 \
libavdevice58 \
libavformat58 \
libavutil56 \
libavcodec60 \
libavdevice60 \
libavformat60 \
libavutil58 \
libdeflate0 \
libncurses6 \
libqrcodegen1 \
libswscale5 \
libunistring2 \
libswscale7 \
libunistring5 \
\
libfontconfig1 \
libfontconfig1-dev \
libfreetype6 \
libharfbuzz0b \
\
Expand All @@ -58,9 +59,11 @@ packages="
qtquickcontrols2-5-dev \
\
libutempter0 \
libyaml-cpp0.7\
libyaml-cpp0.8\
\
cargo
cargo\
pkg-config \
librust-pkg-config-dev
"

sudo apt install -y $packages
3 changes: 1 addition & 2 deletions vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
"dependencies": [
"catch2",
"fmt"
"catch2"
]
}
Loading