This repository has been archived by the owner on Sep 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8c5272a
commit fb32102
Showing
532 changed files
with
72,765 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
#sources | ||
*.c text | ||
*.cc text | ||
*.cxx text | ||
*.cpp text | ||
*.c++ text | ||
*.hpp text | ||
*.h text | ||
*.h++ text | ||
*.hh text | ||
|
||
# Compiled Object files | ||
*.slo binary | ||
*.lo binary | ||
*.o binary | ||
*.obj binary | ||
|
||
|
||
# Precompiled Headers | ||
*.gch binary | ||
*.pch binary | ||
|
||
|
||
# Compiled Dynamic libraries | ||
*.so binary | ||
*.dylib binary | ||
*.dll binary | ||
|
||
|
||
# Compiled Static libraries | ||
*.lai binary | ||
*.la binary | ||
*.a binary | ||
*.lib binary | ||
|
||
|
||
# Executables | ||
*.exe binary | ||
*.out binary | ||
*.app binary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
# For most projects, this workflow file will not need changing; you simply need | ||
# to commit it to your repository. | ||
# | ||
# You may wish to alter this file to override the set of languages analyzed, | ||
# or to provide custom queries or build logic. | ||
# | ||
# ******** NOTE ******** | ||
# We have attempted to detect the languages in your repository. Please check | ||
# the `language` matrix defined below to confirm you have the correct set of | ||
# supported CodeQL languages. | ||
# | ||
name: "CodeQL Analysis" | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
# The branches below must be a subset of the branches above | ||
branches: [ "main" ] | ||
schedule: | ||
- cron: '40 9 * * 0' | ||
|
||
env: | ||
# Path to the CMake build directory. | ||
build: '${{ github.workspace }}/build' | ||
|
||
jobs: | ||
analyze: | ||
name: Analyze | ||
runs-on: ubuntu-latest | ||
permissions: | ||
actions: read | ||
contents: read | ||
security-events: write | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
language: [ 'cpp' ] | ||
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] | ||
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup VCPKG | ||
uses: friendlyanon/setup-vcpkg@v1 | ||
with: { committish: 63aa65e65b9d2c08772ea15d25fb8fdb0d32e557 } | ||
|
||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v2 | ||
with: | ||
languages: ${{ matrix.language }} | ||
# If you wish to specify custom queries, you can do so here or in a config file. | ||
# By default, queries listed here will override any specified in a config file. | ||
# Prefix the list here with "+" to use these queries and those in the config file. | ||
|
||
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs | ||
# queries: security-extended,security-and-quality | ||
|
||
|
||
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java). | ||
# If this step fails, then you should remove it and run the build manually (see below) | ||
#- name: Autobuild | ||
#uses: github/codeql-action/autobuild@v2 | ||
|
||
- name: Configure CMake | ||
run: cmake -B ${{ env.build }} --preset linux-x64-release | ||
|
||
# Build is not required for MSVC Code Analysis and will be used for Codecov | ||
- name: Build CMake | ||
run: cmake --build ${{ env.build }} --preset linux-x64-release | ||
|
||
# ℹ️ Command-line programs to run using the OS shell. | ||
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun | ||
|
||
# If the Autobuild fails above, remove it and uncomment the following three lines. | ||
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance. | ||
|
||
# - run: | | ||
# echo "Run, Build Application using script" | ||
# ./location_of_script_within_repo/buildscript.sh | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v2 | ||
with: | ||
category: "/language:${{matrix.language}}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
# This workflow uses actions that are not certified by GitHub. | ||
# They are provided by a third-party and are governed by | ||
# separate terms of service, privacy policy, and support | ||
# documentation. | ||
# | ||
# Find more information at: | ||
# https://github.com/microsoft/msvc-code-analysis-action | ||
|
||
name: Microsoft C++ Code Analysis | ||
|
||
on: | ||
push: | ||
branches: ["main"] | ||
pull_request: | ||
branches: ["main"] | ||
schedule: | ||
- cron: "41 16 * * 1" | ||
|
||
env: | ||
# Path to the CMake build directory. | ||
build: "${{ github.workspace }}/build" | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
analyze: | ||
permissions: | ||
contents: read # for actions/checkout to fetch code | ||
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results | ||
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status | ||
name: Analyze | ||
runs-on: windows-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup VCPKG | ||
uses: friendlyanon/setup-vcpkg@v1 | ||
with: { committish: 63aa65e65b9d2c08772ea15d25fb8fdb0d32e557 } | ||
|
||
- name: Get SW | ||
uses: egorpugin/sw-action@master | ||
|
||
- name: SW setup and add to PATH | ||
run: | | ||
./sw setup | ||
echo "D:\a\WolfEngine\WolfEngine" >> $env:GITHUB_PATH | ||
- name: Setup OpenCppCoverage and add to PATh | ||
id: setup_opencppcoverage | ||
run: | | ||
choco install OpenCppCoverage -y | ||
echo "C:\Program Files\OpenCppCoverage" >> $env:GITHUB_PATH | ||
- name: Configure CMake | ||
run: cmake -DCMAKE_BUILD_TYPE=Debug -B ${{ env.build }} | ||
|
||
|
||
# Build is not required for MSVC Code Analysis and will be used for Codecov | ||
- name: Build CMake | ||
run: cmake --build ${{ env.build }} | ||
|
||
- name: Run MSVC Code Analysis | ||
uses: microsoft/msvc-code-analysis-action@04825f6d9e00f87422d6bf04e1a38b1f3ed60d99 | ||
# Provide a unique ID to access the sarif output path | ||
id: run-analysis | ||
with: | ||
cmakeBuildDirectory: ${{ env.build }} | ||
# Ruleset file that will determine what checks will be run | ||
ruleset: NativeRecommendedRules.ruleset | ||
ignoredTargetPaths: ${{ env.build }}/_deps/boost_chrono-src;${{ env.build }}/_deps/boost_context-src;${{ env.build }}/_deps/boost_coroutine-src;${{ env.build }}/_deps/boost_date_time-src;${{ env.build }}/_deps/boost_exception-src;${{ env.build }}/_deps/fmt-src;${{ env.build }}/_deps/boost_container-src;${{ env.build }}/_deps/opencv-src;${{ env.build }}/_deps/rapidjson-src;${{ env.build }}/_deps/tesseract-src | ||
|
||
- name: Generate Codecov Report | ||
id: generate_test_report | ||
shell: cmd | ||
run: OpenCppCoverage.exe --continue_after_cpp_exception --export_type cobertura:WolfCov.xml --sources %CD% --excluded_sources %CD%\build\_deps -- %CD%\build\wolf\Debug\wolf_tests.exe | ||
- name: Upload Report to Codecov | ||
uses: codecov/codecov-action@v2 | ||
with: | ||
files: ./WolfCov.xml | ||
fail_ci_if_error: true | ||
functionalities: fix | ||
|
||
# Upload SARIF file to GitHub Code Scanning Alerts | ||
#- name: Upload SARIF to GitHub | ||
# uses: github/codeql-action/upload-sarif@v2 | ||
# with: | ||
# sarif_file: ${{ steps.run-analysis.outputs.sarif }} | ||
|
||
# Upload SARIF file as an Artifact to download and view | ||
- name: Upload SARIF as an Artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: sarif-file | ||
path: ${{ steps.run-analysis.outputs.sarif }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# ToDos | ||
- Dynamic lod creator for lod sample | ||
- Forward+ | ||
- DirectX 12 | ||
- Realtime Raytracing | ||
- DEBUG, RELEASE, MinSizeRelease(does not have assimp and just use wscene files) | ||
|
||
# 2.1 | ||
A major release, rewrite most of wolf.system with pure C | ||
- fixed some bugs | ||
- improved memory pool | ||
- executing python from c has been added | ||
|
||
# 2.0.0.0 | ||
A major release, rewrite most of wolf.system with pure C | ||
- Build for Win64 | ||
- Build for OSX | ||
- Build for iOS | ||
- Build for Android-armv7 | ||
- Build for Linux64 | ||
|
||
|
||
# 1.68.0.9 (2018-10-03) | ||
A minor release with many compatibility-breaking changes. | ||
|
||
New features: | ||
- CMAKE added for building wolf for linux platform | ||
|
||
# 1.65.0.0 (2018-06-04) | ||
A minor release with many compatibility-breaking changes. | ||
|
||
New features: | ||
- system::w_logger optimized and integrated with spdlog | ||
- framework::w_media_core optimized for streaming | ||
- gpu occlusion culling has been added | ||
|
||
|
||
# 1.63.1.0 (2018-04-19) | ||
|
||
A minor release with many compatibility-breaking changes. | ||
|
||
New features: | ||
- Integrated with Vulkan SDK version 1.1.73.0 | ||
- Integrated with VulkanMemoryAllocator for better gpu memory managment | ||
- The new coordinate system is Left handed Y-Up | ||
- The function "contains" have been added to wolf::system::w_bounding_sphere |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
cmake_minimum_required(VERSION 3.22) | ||
|
||
# set the name of the projects | ||
project(wolf) | ||
add_subdirectory(wolf) |
Oops, something went wrong.