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

Make linux.yaml workflow work for debian:testing/clang #1256

Merged
merged 21 commits into from
Oct 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
d9b9c37
Experiment: Look for libstdc++ packages in debian:testing
dgreatwood Oct 16, 2024
f380d51
Experiment: Look for libstdc++ packages in debian:testing
dgreatwood Oct 16, 2024
a8f91a9
Experiment: Look for libstdc++ packages in debian:testing
dgreatwood Oct 16, 2024
e9f434b
Experiment: Look for libstdc++ packages in debian:testing
dgreatwood Oct 16, 2024
fef3066
Experiment: Look for libstdc++ packages in debian:testing
dgreatwood Oct 16, 2024
855d317
Experiment: Look for libstdc++ packages in debian:testing
dgreatwood Oct 16, 2024
7078e30
Experiment: Look for libstdc++ packages in debian:testing
dgreatwood Oct 16, 2024
f94aca7
Experiment: Look for libstdc++ packages in debian:testing
dgreatwood Oct 16, 2024
6fec3b1
Experiment: Look for libstdc++ packages in debian:testing
dgreatwood Oct 16, 2024
d19620c
Experiment: Look for libstdc++ packages in debian:testing
dgreatwood Oct 16, 2024
c6637eb
Experiment: Look for libstdc++ packages in debian:testing
dgreatwood Oct 16, 2024
bf89a4f
Experiment: Look for libstdc++ packages in debian:testing
dgreatwood Oct 16, 2024
0638c27
Experiment: Look for libstdc++ packages in debian:testing
dgreatwood Oct 17, 2024
9b6b969
Experiment: Look for libstdc++ packages in debian:testing
dgreatwood Oct 17, 2024
c2ad4cd
Experiment: Look for libstdc++ packages in debian:testing
dgreatwood Oct 17, 2024
184020d
Experiment: Look for libstdc++ packages in debian:testing
dgreatwood Oct 17, 2024
00d088e
Experiment: Look for libstdc++ packages in debian:testing
dgreatwood Oct 17, 2024
cf3ba36
Experiment: Look for libstdc++ packages in debian:testing
dgreatwood Oct 17, 2024
94146e7
Experiment: Look for libstdc++ packages in debian:testing
dgreatwood Oct 17, 2024
0d4e08b
Fix: Install latest libstdc++ in workflow for debian:testing/clang
dgreatwood Oct 16, 2024
3a9926f
Fix: Remove Current Branch from linux.yaml
dgreatwood Oct 17, 2024
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
16 changes: 16 additions & 0 deletions .github/workflows/linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,22 @@ jobs:
apt -y update
apt -y install $compiler meson pkg-config cmake rapidjson-dev libssl-dev netbase '?exact-name(libhowardhinnant-date-dev)' '?exact-name(libgmock-dev) (?version([1-9]\.[1-9][1-9]) | ?version([1-9]\.[2-9][0-9]))' '?exact-name(libcpp-httplib-dev)' libcurl4-openssl-dev git ca-certificates curl gpg gpgv gpg-agent lcov llvm-dev --no-install-recommends

# Periodically, debian:testing fails with clang, saying that
# libstdc++ cannot be found. In debian:testing/clang, normally
# libstdc++-dev is installed as a dependency of meson. In the
# situation where the build breaks, the meson dependency is
# different to the latest available libstdc++; for instance,
# installing meson dependencies might install
# libstdc++-13-dev, whereas apt has access to
# libstdc++-14-dev. In other situations, the meson dependency
# libstdc++-..-dev may be the same as the latest
# libstdc++-..-dev to which apt has access.
#
# To prevent the build breaking, we need to install the latest
# libstdc++-..-dev to which apt has access - not the N-1
# version which may be installed as a meson dependency.
if [ ${{ matrix.compiler }} = clang ] && [ ${{ matrix.os == 'debian:testing' }} ]; then libstdcpp_latest=$(apt-cache search "libstdc++" | grep "libstdc++-..-dev " | sort -r | head -c 16); libstdcpp_latest_fst9=$(echo "${libstdcpp_latest}" | head -c 9); libstdcpp_latest_lst3=$(echo "${libstdcpp_latest}" | tail -c 4 | head -c 3); if [ ${libstdcpp_latest_fst9} = "libstdc++" ] && [ ${libstdcpp_latest_lst3} = "dev" ]; then apt -y install ${libstdcpp_latest} --no-install-recommends; fi; fi

- name: Install dependencies (Red Hat)
if: contains(matrix.os, 'redhat')
run: |
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.4.8.20241014
0.4.9.20241016
Loading