mirror of
https://github.com/ittiam-systems/libhevc.git
synced 2026-08-13 22:32:34 +07:00
Some checks are pending
CMake / build (cmake, clang, -G Ninja, clang++, ubuntu-latest-clang-cmake-ninja, ubuntu-latest) (push) Waiting to run
CMake / build (cmake, gcc, , g++, ubuntu-latest-gcc-cmake, ubuntu-latest) (push) Waiting to run
CMake / build (cmake, aarch64-linux-gnu-gcc, -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchains/aarch64_toolchain.cmake, aarch64-linux-gnu-g++, ubuntu-latest-cross-aarch64-cmake, ubuntu-latest) (push) Waiting to run
CMake / build (cmake, arm-linux-gnueabihf-gcc, -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchains/aarch32_toolchain.cmake, arm-linux-gnueabihf-g++, ubuntu-latest-cross-aarch32-cmake, ubuntu-latest) (push) Waiting to run
CMake / build (cmake, clang, , clang++, macos-latest-clang-cmake, macos-latest) (push) Waiting to run
CMake / build (cmake, clang, , clang++, ubuntu-24.04-arm-clang-cmake, ubuntu-24.04-arm) (push) Waiting to run
CMake / build (cmake, clang, , clang++, ubuntu-latest-clang-cmake, ubuntu-latest) (push) Waiting to run
CMake / build (cmake, clang, -DSANITIZE=fuzzer-no-link,address, clang++, ubuntu-latest-clang-cmake-asan-fuzzer, ubuntu-latest) (push) Waiting to run
101 lines
2.9 KiB
YAML
101 lines
2.9 KiB
YAML
name: CMake
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
env:
|
|
BUILD_TYPE: Release
|
|
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
matrix:
|
|
include:
|
|
- name: ubuntu-latest-gcc-cmake
|
|
os: ubuntu-latest
|
|
cc: gcc
|
|
cxx: g++
|
|
build-system: cmake
|
|
cmake-opts: ''
|
|
|
|
- name: ubuntu-latest-clang-cmake
|
|
os: ubuntu-latest
|
|
cc: clang
|
|
cxx: clang++
|
|
build-system: cmake
|
|
cmake-opts: ''
|
|
|
|
- name: ubuntu-24.04-arm-clang-cmake
|
|
os: ubuntu-24.04-arm
|
|
cc: clang
|
|
cxx: clang++
|
|
build-system: cmake
|
|
cmake-opts: ''
|
|
|
|
- name: ubuntu-latest-clang-cmake-asan-fuzzer
|
|
os: ubuntu-latest
|
|
cc: clang
|
|
cxx: clang++
|
|
build-system: cmake
|
|
cmake-opts: '-DSANITIZE=fuzzer-no-link,address'
|
|
|
|
- name: ubuntu-latest-clang-cmake-ninja
|
|
os: ubuntu-latest
|
|
cc: clang
|
|
cxx: clang++
|
|
build-system: cmake
|
|
cmake-opts: '-G Ninja'
|
|
|
|
- name: macos-latest-clang-cmake
|
|
os: macos-latest
|
|
cc: clang
|
|
cxx: clang++
|
|
build-system: cmake
|
|
cmake-opts: ''
|
|
|
|
- name: ubuntu-latest-cross-aarch64-cmake
|
|
os: ubuntu-latest
|
|
cc: aarch64-linux-gnu-gcc
|
|
cxx: aarch64-linux-gnu-g++
|
|
build-system: cmake
|
|
cmake-opts: '-DCMAKE_TOOLCHAIN_FILE=../cmake/toolchains/aarch64_toolchain.cmake'
|
|
|
|
- name: ubuntu-latest-cross-aarch32-cmake
|
|
os: ubuntu-latest
|
|
cc: arm-linux-gnueabihf-gcc
|
|
cxx: arm-linux-gnueabihf-g++
|
|
build-system: cmake
|
|
cmake-opts: '-DCMAKE_TOOLCHAIN_FILE=../cmake/toolchains/aarch32_toolchain.cmake'
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Install Linux dependencies
|
|
if: startsWith(matrix.os,'ubuntu') && contains(matrix.cmake-opts,'-G Ninja')
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y ninja-build
|
|
|
|
- name: Install cross-aarch64 dependencies
|
|
if: startsWith(matrix.os,'ubuntu') && contains(matrix.cmake-opts,'aarch64')
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
|
|
|
|
- name: Install cross-arm dependencies
|
|
if: startsWith(matrix.os,'ubuntu') && contains(matrix.cmake-opts,'aarch32')
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf
|
|
|
|
- name: Configure CMake
|
|
env:
|
|
CC: ${{ matrix.cc }}
|
|
CXX: ${{ matrix.cxx }}
|
|
run: cmake -B ${{github.workspace}}/out -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} ${{ matrix.cmake-opts }}
|
|
|
|
- name: Build
|
|
run: cmake --build ${{github.workspace}}/out --config ${{env.BUILD_TYPE}}
|