Skip to content
This repository was archived by the owner on Sep 12, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1824 commits
Select commit Hold shift + click to select a range
385f81f
feat: implement rist
PooyaEimandar Nov 16, 2022
2f70156
feat: implement rist
PooyaEimandar Nov 16, 2022
9e421ec
Create codeql.yml
PooyaEimandar Nov 17, 2022
d0de2eb
Update codeql.yml
PooyaEimandar Nov 17, 2022
ee271b5
build: CodeQL
PooyaEimandar Nov 17, 2022
b0d5735
Update codeql.yml
PooyaEimandar Nov 17, 2022
d535648
Update README.md
PooyaEimandar Nov 17, 2022
1c56670
Update README.md
PooyaEimandar Nov 17, 2022
f73c6c5
Update README.md
PooyaEimandar Nov 17, 2022
6df86d5
feat: implement log
PooyaEimandar Nov 19, 2022
11e90eb
test: implement log
PooyaEimandar Nov 19, 2022
782b35a
build: fix ffmpeg
PooyaEimandar Nov 21, 2022
03551d8
build: fix ffmpeg
PooyaEimandar Nov 22, 2022
46edc73
feat: boost test added
PooyaEimandar Nov 23, 2022
33e6b3f
feat: avframe added
PooyaEimandar Nov 23, 2022
1ce31af
fix: leak detector for windows
PooyaEimandar Nov 23, 2022
cdc4e4a
feat: avpacket added
PooyaEimandar Nov 24, 2022
9aafd90
Update README.md
PooyaEimandar Nov 24, 2022
dce9838
build: build wolfcpp for android (#394)
SiminBadri Nov 26, 2022
139d691
feat: avframe added
PooyaEimandar Nov 27, 2022
5ec182e
fix: ffmpeg files
PooyaEimandar Nov 27, 2022
4b66352
feat: ffmpeg av1 encoder
PooyaEimandar Nov 28, 2022
920134e
feat: ffmpeg encoder/decoder
PooyaEimandar Nov 29, 2022
35bb731
fix: memory leak on rist config
PooyaEimandar Dec 1, 2022
048aeec
test: enable all tests
PooyaEimandar Dec 1, 2022
afaf47c
test: enable all tests
PooyaEimandar Dec 1, 2022
eb28891
test: enable code coverage
PooyaEimandar Dec 1, 2022
d9a2674
fix: remove unnecessary coverage files
PooyaEimandar Dec 2, 2022
a1a3aeb
fix: readme
PooyaEimandar Dec 2, 2022
7d1840e
build: build rist for android (#395)
SiminBadri Dec 5, 2022
aba6d9b
Update README.md
PooyaEimandar Dec 5, 2022
4934e71
Update README.md
PooyaEimandar Dec 5, 2022
aea1e85
fix: the reserved W_OK macro was removed
PooyaEimandar Dec 5, 2022
d0673a1
Merge remote-tracking branch 'origin/main'
PooyaEimandar Dec 5, 2022
d60cb41
fix: change W_ERR to W_FAILURE
PooyaEimandar Dec 5, 2022
a3c0f49
feat: lzma and lz4
PooyaEimandar Dec 6, 2022
bc5fb99
fix: replace fmt:format with std::format
PooyaEimandar Dec 6, 2022
4bf1f20
wolf-rs was merged
PooyaEimandar Dec 6, 2022
af0b6d8
build: add coverage info
PooyaEimandar Dec 6, 2022
0236936
build: wolf_sys static
PooyaEimandar Dec 6, 2022
3d98252
Update README.md
PooyaEimandar Dec 6, 2022
e9e6f94
Update README.md
PooyaEimandar Dec 6, 2022
4dfbe18
Update README.md
PooyaEimandar Dec 6, 2022
aeb5e5a
Update README.md
PooyaEimandar Dec 6, 2022
be1dda5
fix: coverage
PooyaEimandar Dec 6, 2022
4b75e4e
update coverage
PooyaEimandar Dec 6, 2022
39e666b
Merge remote-tracking branch 'origin/main'
PooyaEimandar Dec 6, 2022
86ccd67
Update README.md
PooyaEimandar Dec 6, 2022
8345dce
Update README.md
PooyaEimandar Dec 6, 2022
259af94
fix: wolf_sys static link
PooyaEimandar Dec 6, 2022
cfcb755
Merge remote-tracking branch 'origin/main'
PooyaEimandar Dec 6, 2022
b4414fd
fix: clippy errors
PooyaEimandar Dec 6, 2022
6565320
build: fix clippy
PooyaEimandar Dec 6, 2022
cc882ea
fix: proto3 build
PooyaEimandar Dec 6, 2022
b069fb3
build: linux fixed
PooyaEimandar Dec 7, 2022
612d032
build: linux
PooyaEimandar Dec 7, 2022
9889945
Create rust-clippy.yml
PooyaEimandar Dec 7, 2022
56aab91
Update README.md
PooyaEimandar Dec 7, 2022
aa058bb
Update rust-clippy.yml
PooyaEimandar Dec 7, 2022
b08f5f1
Update rust-clippy.yml
PooyaEimandar Dec 7, 2022
03cae0e
fix: github action
PooyaEimandar Dec 7, 2022
7879382
Merge remote-tracking branch 'origin/main'
PooyaEimandar Dec 7, 2022
3509a01
Delete rust-clippy.yml
PooyaEimandar Dec 7, 2022
a2f1aa6
Update rust-clippy-windows.yml
PooyaEimandar Dec 7, 2022
2792b0b
Update rust-clippy-windows.yml
PooyaEimandar Dec 7, 2022
f2125da
fix: default feature
PooyaEimandar Dec 7, 2022
81ff288
Merge remote-tracking branch 'origin/main'
PooyaEimandar Dec 7, 2022
5c22a2f
Update rust-clippy-windows.yml
PooyaEimandar Dec 7, 2022
4b74d3e
fix: github action
PooyaEimandar Dec 7, 2022
db0c704
Merge remote-tracking branch 'origin/main'
PooyaEimandar Dec 7, 2022
d4e7320
fix: clippy
PooyaEimandar Dec 7, 2022
5a13b6e
Update rust-clippy-windows.yml
PooyaEimandar Dec 7, 2022
3ca3b7a
Update rust-clippy-windows.yml
PooyaEimandar Dec 7, 2022
d9b3272
Update rust-clippy-windows.yml
PooyaEimandar Dec 7, 2022
414210f
Update rust-clippy-windows.yml
PooyaEimandar Dec 7, 2022
d04296c
Update rust-clippy-windows.yml
PooyaEimandar Dec 7, 2022
886b934
Update rust-clippy-windows.yml
PooyaEimandar Dec 7, 2022
820da7e
Update rust-clippy-windows.yml
PooyaEimandar Dec 7, 2022
7b6b6be
Update rust-clippy-windows.yml
PooyaEimandar Dec 7, 2022
5a24edd
Update rust-clippy-windows.yml
PooyaEimandar Dec 7, 2022
794fe9b
Update rust-clippy-windows.yml
PooyaEimandar Dec 7, 2022
2de87a4
Update rust-clippy-windows.yml
PooyaEimandar Dec 7, 2022
64cce74
Update rust-clippy-windows.yml
PooyaEimandar Dec 7, 2022
d73f5c9
fix: cargo
PooyaEimandar Dec 7, 2022
8e60488
Merge remote-tracking branch 'origin/main'
PooyaEimandar Dec 7, 2022
9947c00
build: github action
PooyaEimandar Dec 7, 2022
2e2fdf8
build: github action
PooyaEimandar Dec 7, 2022
04865a6
Update codeql.yml
PooyaEimandar Dec 7, 2022
39bc919
Create msvc.yml
PooyaEimandar Dec 7, 2022
80f3f47
Delete msvc.yml
PooyaEimandar Dec 7, 2022
2c8adfe
build: add gRPC
PooyaEimandar Dec 8, 2022
14d7d07
build: gRPC
PooyaEimandar Dec 8, 2022
ea7c37c
Merge remote-tracking branch 'origin/main'
PooyaEimandar Dec 8, 2022
3e8d5c3
Create rust.yml
PooyaEimandar Dec 8, 2022
c2cb642
build: github action
PooyaEimandar Dec 8, 2022
cc35689
Merge remote-tracking branch 'origin/main'
PooyaEimandar Dec 8, 2022
992f82f
build: github action
PooyaEimandar Dec 8, 2022
32346f3
Create rust-win.yml
PooyaEimandar Dec 8, 2022
9e40618
Delete rust-windows.yml
PooyaEimandar Dec 8, 2022
abd28e6
build: github action
PooyaEimandar Dec 8, 2022
01aead6
Merge remote-tracking branch 'origin/main'
PooyaEimandar Dec 8, 2022
19d6b63
Update rust-win.yml
PooyaEimandar Dec 8, 2022
11dd3f8
build: github action
PooyaEimandar Dec 8, 2022
ee8499e
Merge remote-tracking branch 'origin/main'
PooyaEimandar Dec 8, 2022
666722c
Update rust-win.yml
PooyaEimandar Dec 8, 2022
1efad79
Update rust-win.yml
PooyaEimandar Dec 8, 2022
ef33129
Update rust-win.yml
PooyaEimandar Dec 8, 2022
cdf3240
Update rust-win.yml
PooyaEimandar Dec 8, 2022
0bf0493
build: github action
PooyaEimandar Dec 8, 2022
0842d03
Merge remote-tracking branch 'origin/main'
PooyaEimandar Dec 8, 2022
dacfb4a
Update and rename rust-win.yml to windows.yml
PooyaEimandar Dec 8, 2022
245d7c2
Update README.md
PooyaEimandar Dec 8, 2022
7fe30bf
build: github action
PooyaEimandar Dec 8, 2022
36ed01e
test: rist & ffmpeg
PooyaEimandar Dec 17, 2022
45a9ed5
test: rist & ffmpeg
PooyaEimandar Dec 17, 2022
28ef83a
test: rist & ffmpeg
PooyaEimandar Dec 17, 2022
ec61613
feature: implement gamepad input management (#416)
rabbanian Dec 19, 2022
805ff43
refactor codes
PooyaEimandar Dec 19, 2022
f87cc35
Merge remote-tracking branch 'origin/main'
PooyaEimandar Dec 19, 2022
eea2e5f
refactor : w_gamepad
PooyaEimandar Dec 19, 2022
adc24da
remove default gamepad option
PooyaEimandar Dec 19, 2022
53b5615
Create msvc.yml
PooyaEimandar Dec 19, 2022
840a87d
fix: gamepad
PooyaEimandar Dec 20, 2022
9e51371
Merge remote-tracking branch 'origin/main'
PooyaEimandar Dec 20, 2022
f9ec803
build: update to SDL3
PooyaEimandar Dec 20, 2022
a8933b2
feat: websocket
PooyaEimandar Dec 24, 2022
b3af21e
Update README.md
PooyaEimandar Dec 24, 2022
70c106c
Update README.md
PooyaEimandar Dec 24, 2022
06cd95f
fix: tests
PooyaEimandar Dec 24, 2022
e1bfa56
feat: client websocket
PooyaEimandar Dec 25, 2022
d96b503
Update msvc.yml
PooyaEimandar Dec 25, 2022
5a46dd8
Update README.md
PooyaEimandar Dec 26, 2022
707ed81
test: websocket
PooyaEimandar Dec 26, 2022
5a792ba
Merge remote-tracking branch 'origin/main'
PooyaEimandar Dec 26, 2022
10c77dc
feat: websocket client
PooyaEimandar Dec 26, 2022
06fdb38
feat: virtual gamepad
PooyaEimandar Dec 28, 2022
3694e83
Update README.md
PooyaEimandar Dec 28, 2022
94560c1
Create README.md
PooyaEimandar Dec 28, 2022
2111851
refactor: tests
PooyaEimandar Dec 29, 2022
50df78e
Update msvc.yml
PooyaEimandar Dec 29, 2022
1c6b2c0
Enable Codecov
PooyaEimandar Dec 29, 2022
ea70ce8
Update msvc.yml
PooyaEimandar Dec 29, 2022
c199310
Update CodeCov
PooyaEimandar Dec 29, 2022
1fcff00
Update README.md
PooyaEimandar Dec 29, 2022
0bd9e0d
Update README.md
PooyaEimandar Dec 29, 2022
9095776
build: change CMake for Codecov
PooyaEimandar Dec 29, 2022
56aa337
Merge remote-tracking branch 'origin/main'
PooyaEimandar Dec 29, 2022
15c5377
fix: CodeQL
PooyaEimandar Dec 30, 2022
0ba01d7
refactor: cppcheck
PooyaEimandar Dec 30, 2022
e2d55b9
build: fix gamepad on linux
PooyaEimandar Dec 30, 2022
669215b
fix: build
PooyaEimandar Dec 30, 2022
7da9304
fix: CodeQL
PooyaEimandar Dec 30, 2022
313892e
feat: gamepad virtual & gamepad client
PooyaEimandar Jan 2, 2023
9033383
Update README.md
PooyaEimandar Jan 2, 2023
2919a2a
Update README.md
PooyaEimandar Jan 2, 2023
f91e70a
refactor: upgrade ffmpeg to v5.1.2
PooyaEimandar Jan 2, 2023
a681cbf
fix: AV1/VP9/H264 encoder & decoder
PooyaEimandar Jan 4, 2023
09f4c9f
test: update all tests
PooyaEimandar Jan 4, 2023
1fe7fab
refactor: ffmpeg tests
PooyaEimandar Jan 5, 2023
fcafdbf
refactor: all tests
PooyaEimandar Jan 5, 2023
27eb1a8
refactor: tests
PooyaEimandar Jan 5, 2023
df2c328
fix: tests
PooyaEimandar Jan 5, 2023
95bc507
feat: SRT
PooyaEimandar Jan 7, 2023
7f14f58
feat: SRT
PooyaEimandar Jan 7, 2023
57b8a19
update modules
PooyaEimandar Jan 7, 2023
1ad434b
fix: CMake for image
PooyaEimandar Jan 7, 2023
3982499
update the copyright year
PooyaEimandar Jan 7, 2023
c698e99
fix: typo
PooyaEimandar Jan 7, 2023
2ff444c
feat: w_image
PooyaEimandar Jan 9, 2023
3beb500
update README
PooyaEimandar Jan 9, 2023
b7ff369
fix: clang-tidy errors
PooyaEimandar Jan 9, 2023
529f104
Update codeql.yml
PooyaEimandar Jan 9, 2023
4085de9
Update codeql.yml
PooyaEimandar Jan 9, 2023
019ab18
Update CMakeLists.txt
PooyaEimandar Jan 9, 2023
fcfdff0
Update README.md
PooyaEimandar Jan 9, 2023
411dd80
fix: Microsoft C++ Code Analysis build
PooyaEimandar Jan 9, 2023
9f03ff2
build: make wolf usable as external dependency (#422)
hexorer Jan 11, 2023
825c950
fix build
PooyaEimandar Jan 12, 2023
7dbfb99
build: wasm
PooyaEimandar Jan 13, 2023
76d6c88
fix: build
PooyaEimandar Jan 13, 2023
5fc04e6
build: wasm
PooyaEimandar Jan 13, 2023
7882898
build: wasm
PooyaEimandar Jan 13, 2023
70d8449
fix: rewrite ring buffer to solve playback problems (#423)
hexorer Jan 13, 2023
bf00da8
refactor
PooyaEimandar Jan 13, 2023
02554f6
feat: wasm
PooyaEimandar Jan 15, 2023
d5f2a30
build: cmake preset for wasm
PooyaEimandar Jan 17, 2023
d08afc1
Update CMakeLists.txt
PooyaEimandar Jan 18, 2023
d14bac1
fix: ignore deps.
PooyaEimandar Jan 18, 2023
7f82b6b
fix: ignore path
PooyaEimandar Jan 18, 2023
496c2e1
feat: Janus API for wasm
PooyaEimandar Jan 25, 2023
d292c4c
update README
PooyaEimandar Jan 25, 2023
44490ba
Option JANUS edited
PooyaEimandar Jan 25, 2023
ba597af
feat: fix cmake includes
PooyaEimandar Jan 25, 2023
212bcd6
update: README
PooyaEimandar Jan 25, 2023
c77f4c0
feat: join to Janus session for wasm
PooyaEimandar Jan 27, 2023
c0ffc4b
Update README.md
PooyaEimandar Jan 27, 2023
f70a33b
Update README.md
PooyaEimandar Jan 27, 2023
c90cc19
fix: build w_log
PooyaEimandar Jan 28, 2023
12f7d7e
doc: janus build
PooyaEimandar Jan 28, 2023
8cb6cd7
refactor: format
PooyaEimandar Jan 28, 2023
cc4ff40
fix: openAL
PooyaEimandar Jan 29, 2023
ebeb8f9
fix: format
PooyaEimandar Feb 6, 2023
8c1fe04
test: coroutine
PooyaEimandar Feb 7, 2023
5004ef1
Update README.md
PooyaEimandar Feb 7, 2023
c80cd1b
feat: implement postgres db connector for cockroach db (#430)
hexorer Feb 12, 2023
8ba1653
feat: add referee ocr project to the wolfengine (#429)
MBSM110 Feb 13, 2023
56f0aad
refactor
PooyaEimandar Feb 23, 2023
4082d73
test add the tests of the referee ocr projects to the wolf (#434)
MBSM110 Feb 26, 2023
0bb38c0
feat: boringSSL
PooyaEimandar Feb 26, 2023
f874ffb
Merge branch 'main' of https://github.com/WolfEngine/WolfEngine
PooyaEimandar Feb 26, 2023
b5c6e60
bump to boost 1.81.0
PooyaEimandar Mar 24, 2023
e31022c
remove OCR from github action
PooyaEimandar Mar 25, 2023
d7e7bb6
disable clang-tidy
PooyaEimandar Mar 25, 2023
1fcc8f0
refactor
PooyaEimandar Mar 26, 2023
03b6112
Merge branch 'main' of https://github.com/WolfEngine/WolfEngine
PooyaEimandar Mar 26, 2023
fd43af8
feat: port w_lua.h from wolf2 to wolf3 (#438)
rabbanian Mar 26, 2023
dca5e6d
build: add install target for wolf library (#443)
SiminBadri Mar 30, 2023
04853d5
refactor
PooyaEimandar Apr 3, 2023
bcbef9f
Merge branch 'main' of https://github.com/WolfEngine/WolfEngine
PooyaEimandar Apr 3, 2023
3698a18
build: support vcpkg
PooyaEimandar Apr 11, 2023
df6ffba
build: link boost components in static mode
PooyaEimandar Apr 12, 2023
2b65205
build: github action
PooyaEimandar Apr 12, 2023
9aef6da
fix: github actions
PooyaEimandar Apr 12, 2023
e124b99
Update codeql.yml (#446)
PooyaEimandar Apr 12, 2023
1c6a22d
refactor: update ffmpeg stream test (#450)
SiminBadri Apr 13, 2023
d997f63
fix: vcpkg
PooyaEimandar Apr 18, 2023
3db3bf0
feat: add nudity detection codes to the wolf engine (#445)
MBSM110 Apr 18, 2023
7b8a7e3
Merge branch 'main' of https://github.com/WolfEngine/WolfEngine
PooyaEimandar Apr 18, 2023
5d90399
feat: add gstreamer wrapper (#452)
hexorer Apr 19, 2023
e0c8f57
fix: build for linux x64
PooyaEimandar Apr 19, 2023
5975a06
fix: build
PooyaEimandar Apr 19, 2023
67342ab
fix: cmake preset
PooyaEimandar Apr 19, 2023
b6f6d64
fix: cmake preset
PooyaEimandar Apr 19, 2023
71a705e
Update CMakePresets.json (#454)
PooyaEimandar Apr 19, 2023
170e1c8
Update CMakePresets.json (#455)
PooyaEimandar Apr 19, 2023
22b0ed3
Update codeql.yml (#456)
PooyaEimandar Apr 19, 2023
61ecb4d
fix: cmake preset
PooyaEimandar Apr 19, 2023
722708a
feat: write wrapper for boost python (#465)
saeedamrollahi Apr 28, 2023
9be4211
fix: resolve wolf media gstreamer namespace build problems (#464)
hexorer Apr 28, 2023
a3f7a0a
feat: write grpc wrapper (#471)
SiminBadri May 4, 2023
4f068e6
build: write a linux docker for wolfengine (#470)
MBSM110 May 4, 2023
ce0dac2
refactor: w_python
PooyaEimandar May 5, 2023
7c11224
refactor: w_python
PooyaEimandar May 5, 2023
5b66a05
refactor: grpc
PooyaEimandar May 5, 2023
6fefec9
Update README.md (#472)
PooyaEimandar May 5, 2023
4ac047c
build: initiate msquic wrapper library development (#473)
hexorer May 6, 2023
7244e09
fix: refactor grpc
PooyaEimandar May 9, 2023
75bf1fb
feat: add base data types for msquic wrapper library (#474)
hexorer May 9, 2023
dbe1cce
feat: add msquic wrapper event types (#478)
hexorer May 10, 2023
7c2f277
test: add a test for investigating nsfw in a stream
MBSM110 May 14, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
build
40 changes: 40 additions & 0 deletions .gitattributes
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
88 changes: 88 additions & 0 deletions .github/workflows/codeql.yml
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}}"
97 changes: 97 additions & 0 deletions .github/workflows/msvc.yml
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 }}
39 changes: 29 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,31 @@
*.log
*.tlog
*.wLog
*.idb
*.pdb
*.ipch
*.ilk
*.recipe
*.res
*.enc
*.vscode
*.advixeproj
*.advixeexp
*.dflgadvixe
*.infoadvixe
*.DS_Store
*.db
*.db-shm
*.db-wal
*.opendb
*.DS_Store
*.pem

/bin/*
/build/*
/coverage/*
/install/*

# Compiled Object files
*.slo
*.lo
Expand All @@ -8,21 +36,12 @@
*.gch
*.pch

# Compiled Dynamic libraries
*.so
*.dylib
*.dll

# Fortran module files
*.mod

# Compiled Static libraries
*.lai
*.la
*.a
*.lib

# Executables
*.exe
*.out
*.app
*.app
85 changes: 85 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
{
"C_Cpp.default.configurationProvider": "vector-of-bool.cmake-tools",
"editor.formatOnSave": true,
"files.associations": {
"__locale": "cpp",
"regex": "cpp",
"*.ipp": "cpp",
"pointers": "cpp",
"any": "cpp",
"array": "cpp",
"atomic": "cpp",
"strstream": "cpp",
"bit": "cpp",
"*.tcc": "cpp",
"cctype": "cpp",
"charconv": "cpp",
"chrono": "cpp",
"clocale": "cpp",
"cmath": "cpp",
"codecvt": "cpp",
"compare": "cpp",
"complex": "cpp",
"concepts": "cpp",
"condition_variable": "cpp",
"coroutine": "cpp",
"csignal": "cpp",
"cstdarg": "cpp",
"cstddef": "cpp",
"cstdint": "cpp",
"cstdio": "cpp",
"cstdlib": "cpp",
"cstring": "cpp",
"ctime": "cpp",
"cwchar": "cpp",
"cwctype": "cpp",
"deque": "cpp",
"list": "cpp",
"map": "cpp",
"set": "cpp",
"string": "cpp",
"unordered_map": "cpp",
"vector": "cpp",
"exception": "cpp",
"algorithm": "cpp",
"functional": "cpp",
"iterator": "cpp",
"memory": "cpp",
"memory_resource": "cpp",
"numeric": "cpp",
"optional": "cpp",
"random": "cpp",
"ratio": "cpp",
"source_location": "cpp",
"string_view": "cpp",
"system_error": "cpp",
"tuple": "cpp",
"type_traits": "cpp",
"utility": "cpp",
"fstream": "cpp",
"future": "cpp",
"initializer_list": "cpp",
"iomanip": "cpp",
"iosfwd": "cpp",
"iostream": "cpp",
"istream": "cpp",
"limits": "cpp",
"mutex": "cpp",
"new": "cpp",
"numbers": "cpp",
"ostream": "cpp",
"semaphore": "cpp",
"shared_mutex": "cpp",
"span": "cpp",
"sstream": "cpp",
"stdexcept": "cpp",
"stop_token": "cpp",
"streambuf": "cpp",
"thread": "cpp",
"cfenv": "cpp",
"cinttypes": "cpp",
"typeindex": "cpp",
"typeinfo": "cpp",
"variant": "cpp"
}
}
Loading