Skip to content
Open
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
19 changes: 18 additions & 1 deletion .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ jobs:
steps:
- uses: actions/checkout@v1
- uses: actions/setup-python@v1
- name: ccache
uses: hendrikmuhs/ccache-action@v1
with:
key: ${{ matrix.os }}-${{ matrix.type }}
max-size: 100M
- name: Get system dependencies
run: sudo apt-get update && sudo apt-get install -y
libwayland-dev
Expand Down Expand Up @@ -44,7 +49,12 @@ jobs:
env:
CC: gcc-10
CXX: g++-10
run: cd build && cmake -DCMAKE_BUILD_TYPE=${{ matrix.configuration }} ..
run: cd build &&
cmake
-DCMAKE_BUILD_TYPE=${{ matrix.configuration }}
-DCMAKE_C_COMPILER_LAUNCHER=ccache
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache
..
- name: Build
run: cmake --build build -j $(nproc --all)
- name: Test
Expand All @@ -64,6 +74,11 @@ jobs:

steps:
- uses: actions/checkout@v1
- name: ccache
uses: hendrikmuhs/ccache-action@v1
with:
key: ${{ matrix.os }}-${{ matrix.type }}
max-size: 100M
- uses: actions/setup-python@v1
- uses: ilammy/msvc-dev-cmd@v1.5.0
- name: Get Conan
Expand All @@ -85,6 +100,8 @@ jobs:
cmake
-G "Ninja"
-DCMAKE_BUILD_TYPE=${{ matrix.configuration }}
-DCMAKE_C_COMPILER_LAUNCHER=ccache
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache
..
- name: Build
run: cmake --build build -j $(nproc --all)
Expand Down