Skip to content
Merged
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
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
build:
needs: style-check
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
matrix:
compiler: [clang++, g++]
Expand All @@ -39,10 +40,11 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y cmake clang clang-tidy llvm ninja-build ccache || (sleep 10 && sudo apt-get update && sudo apt-get install -y cmake clang clang-tidy llvm ninja-build ccache)
- name: Cache apt packages
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: cmake clang clang-tidy llvm ninja-build ccache
version: 1.0

- name: Cache ccache
uses: actions/cache@v4
Expand Down Expand Up @@ -83,6 +85,7 @@ jobs:
test:
needs: build
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
matrix:
compiler: [clang++, g++]
Expand Down
Loading