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

Dev to master #19

Merged
merged 5 commits into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Default assignment
* @kachsheev
13 changes: 13 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
version: 2

updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
target-branch: dev
groups:
actions-minor:
update-types:
- minor
- patch
99 changes: 99 additions & 0 deletions .github/workflows/build-libraries.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
name: 'Build libraries'

on:
push:
branches:
- '**'
paths:
- '.github/workflows/**'
- 'cmake/**'
- 'include/**'
- 'src/**'
- 'tests/**'
- '**/CMakeLists.txt'
pull_request:
branches:
- '**'
paths:
- '.github/workflows/**'
- 'cmake/**'
- 'include/**'
- 'src/**'
- 'tests/**'
- '**/CMakeLists.txt'

defaults:
run:
shell: pwsh

jobs:
build-libraries:
name: 'Build libraries'

strategy:
matrix:
include:
- { system: windows-latest, config: Debug, cc: cl, cpp: cl }
- { system: windows-latest, config: Release, cc: cl, cpp: cl }
- { system: windows-latest, config: Debug, cc: gcc, cpp: g++ }
- { system: windows-latest, config: Release, cc: gcc, cpp: g++ }
- { system: ubuntu-latest, config: Debug, cc: gcc-11, cpp: g++-11 }
- { system: ubuntu-latest, config: Release, cc: gcc-11, cpp: g++-11}
- { system: ubuntu-latest, config: Debug, cc: clang-14, cpp: clang++-14 }
- { system: ubuntu-latest, config: Release, cc: clang-14, cpp: clang++-14 }
fail-fast: false

runs-on: ${{ matrix.system }}

steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Visual Studio Build Tools
uses: ilammy/msvc-dev-cmd@v1
if: ${{ runner.os == 'Windows' && matrix.cc == 'cl' }}

- name: Setup MSYS2
uses: msys2/setup-msys2@v2
if: ${{ runner.os == 'Windows' && matrix.cc == 'gcc' }}
with:
msystem: UCRT64
update: true
install: mingw-w64-ucrt-x86_64-gcc

- name: Setup GCC and Clang
if: ${{ runner.os == 'Linux' }}
run: |
sudo apt update && `
sudo apt install -y `
gcc-11 `
g++-11 `
clang-14

- name: Setup Ninja
uses: imesense/[email protected]

- name: Configure project
run: |
cmake `
-S . `
-B build `
-G "Ninja" `
-DCMAKE_C_COMPILER=${{ matrix.cc }} `
-DCMAKE_CXX_COMPILER=${{ matrix.cpp }} `
-DFLAME_CONAN_SUPPORT=OFF `
-DCMAKE_BUILD_TYPE=${{ matrix.config }}

- name: Build project
run: |
cmake `
--build build `
--config ${{ matrix.config }}

- name: Run tests
run: |
ctest `
--test-dir build `
--extra-verbose
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ flame_resolver_settings(
PROJECT_ROOT_PATH ${CMAKE_CURRENT_SOURCE_DIR}
LOCAL_INSTALL_PREFIX ${CMAKE_CURRENT_SOURCE_DIR}/install
)
if(FLAME_TESTING)
message(STATUS "Tests enabled")
enable_testing()
endif()

add_subdirectory(${FLAME_INCLUDE_SUBMODLUES_PATH})
add_subdirectory(${FLAME_SOURCE_SUBMODLUES_PATH})
Expand Down
256 changes: 0 additions & 256 deletions Libs.pro

This file was deleted.

Loading
Loading