mirror of
https://github.com/avinal/blowfish.git
synced 2026-01-09 22:38:33 +05:30
Some checks failed
Build and Test / build (Debug, clang) (push) Failing after 18s
Build and Test / build (Debug, gcc) (push) Failing after 17s
Build and Test / build (Release, clang) (push) Failing after 25s
Build and Test / build (Release, gcc) (push) Failing after 17s
Build and Test / sanitize (push) Failing after 3s
- Increased CMake minimum version to 3.30 - added test run in github workflow Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com>
25 lines
878 B
YAML
25 lines
878 B
YAML
name: Build and Test
|
|
on: [push, pull_request]
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix: {compiler: [gcc, clang], build_type: [Release, Debug]}
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Install deps
|
|
run: sudo apt-get update && sudo apt-get install -y build-essential cmake
|
|
- name: Configure
|
|
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
|
|
- name: Build
|
|
run: cmake --build build -j
|
|
- name: Run tests
|
|
run: ctest --output-on-failure -C ${{ matrix.build_type }} -V
|
|
sanitize:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS="-fsanitize=address,undefined -fno-omit-frame-pointer"
|
|
- run: cmake --build build -j
|
|
- run: ctest --output-on-failure -C Debug -V
|