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

ci: Cleanup ci.yml #309

Closed
wants to merge 1 commit into from
Closed
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
20 changes: 5 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ on:

env:
CMAKE_GENERATOR: Ninja
CMAKE_C_COMPILER_LAUNCHER: ccache
CMAKE_CXX_COMPILER_LAUNCHER: ccache

permissions:
contents: read
Expand Down Expand Up @@ -70,8 +72,6 @@ jobs:
env:
CC: ${{ matrix.compiler.cc }}
CXX: ${{ matrix.compiler.cxx }}
CMAKE_C_COMPILER_LAUNCHER: ccache
CMAKE_CXX_COMPILER_LAUNCHER: ccache
- name: Verify generated code is up to date
run: python scripts/github_ci_check_codegen.py

Expand Down Expand Up @@ -109,8 +109,6 @@ jobs:
run: cmake -S. -B build -D CMAKE_BUILD_TYPE=Release -D BUILD_TESTS=ON -D BUILD_WERROR=ON -D UPDATE_DEPS=ON
env:
MACOSX_DEPLOYMENT_TARGET: 10.15
CMAKE_C_COMPILER_LAUNCHER: ccache
CMAKE_CXX_COMPILER_LAUNCHER: ccache
- name: Build
run: cmake --build build
- name: Install
Expand All @@ -120,14 +118,9 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
abi: [ arm64-v8a ]
build_tests: [ "ON" ]
stl_type: ["c++_shared"]
include:
- abi: armeabi-v7a
build_tests: "OFF"
stl_type: c++_static

abi: [ arm64-v8a, armeabi-v7a ]
build_tests: [ "ON", "OFF" ]
stl_type: ["c++_shared", "c++_static"]
steps:
- uses: actions/checkout@v3
- uses: lukka/get-cmake@latest
Expand All @@ -146,9 +139,6 @@ jobs:
-D BUILD_TESTS=${{ matrix.build_tests }} \
-D UPDATE_DEPS=ON \
-D BUILD_WERROR=ON
env:
CMAKE_C_COMPILER_LAUNCHER: ccache
CMAKE_CXX_COMPILER_LAUNCHER: ccache
- name: Build
run: cmake --build build/
- name: Install
Expand Down