mirror of
https://github.com/nlohmann/json.git
synced 2026-11-15 08:16:40 +00:00
Install unzip in the Clang module job before get-cmake
The ^4.5.0 CMake/Ninja cache key is new, so get-cmake has to unzip the Ninja download, and silkeh/clang:latest has no unzip. Signed-off-by: Niels Lohmann <mail@nlohmann.me>
This commit is contained in:
1 file changed
+5
@@ -362,6 +362,11 @@ jobs:
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
# get-cmake extracts the Ninja zip with the system unzip, which the Clang
|
||||
# image lacks; other Clang jobs get away with it by hitting the cache.
|
||||
- name: Install unzip (Clang)
|
||||
if: matrix.container == 'silkeh/clang:latest'
|
||||
run: apt-get update ; apt-get install -y unzip
|
||||
# The module test uses `import std;`, which needs CMake 4.5 or newer.
|
||||
- name: Get CMake 4.5+ and ninja
|
||||
uses: lukka/get-cmake@16e8153a8b4918849d92aad131befe67a3705daa # v4.5.0
|
||||
|
||||
Reference in new issue
Block a user