-
Notifications
You must be signed in to change notification settings - Fork 13
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
Showing
2 changed files
with
76 additions
and
52 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,24 @@ | ||
name: Generate Doxygen Documentation | ||
|
||
on: | ||
push: | ||
branches: ["master"] | ||
pull_request: | ||
branches: ["master"] | ||
|
||
jobs: | ||
generate-docs: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
# Step 1: Check out the repository | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
# Step 2: Set up Doxygen | ||
- name: Install Doxygen | ||
run: sudo apt-get update && sudo apt-get install -y doxygen graphviz | ||
|
||
# Step 3: Generate Doxygen Documentation | ||
- name: Generate Doxygen documentation | ||
run: doxygen Doxyfile |
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 |
---|---|---|
@@ -1,52 +1,52 @@ | ||
name: MSBuild | ||
|
||
on: | ||
push: | ||
branches: ["master"] | ||
pull_request: | ||
branches: ["master"] | ||
|
||
env: | ||
# Configuration type to build. | ||
# You can convert this to a build matrix if you need coverage of multiple configuration types. | ||
# https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix | ||
BUILD_CONFIGURATION: Release | ||
BUILD_PLATFORM: x64 | ||
# Path to the solution file relative to the root of the project. | ||
SOLUTION_FILE_PATH: fellow\SRC\WinFellow.sln | ||
SOLUTION_DIRECTORY: fellow\SRC | ||
WINFELLOW_CORE_TESTS_DIRECTORY: fellow\SRC\WinFellow.Core.Tests\x64\Release\ | ||
WINFELLOW_HARDFILE_TESTS_DIRECTORY: fellow\SRC\WinFellow.Hardfile.Tests\x64\Release\ | ||
|
||
permissions: | ||
contents: read | ||
checks: write | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Add MSBuild to PATH | ||
uses: microsoft/setup-msbuild@v1.1 | ||
|
||
- name: Build | ||
working-directory: ${{env.GITHUB_WORKSPACE}} | ||
# Add additional options to the MSBuild command line here (like platform or verbosity level). | ||
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference | ||
run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} /p:Platform=${{env.BUILD_PLATFORM}} ${{env.SOLUTION_FILE_PATH}} | ||
|
||
- name: Run core unit-tests | ||
working-directory: ${{env.WINFELLOW_CORE_TESTS_DIRECTORY}} | ||
run: .\WinFellow.Core.Tests.exe --reporter JUnit::out=WinFellowCoreTestsResult-junit.xml | ||
|
||
- name: Run hardfile unit-tests | ||
working-directory: ${{env.WINFELLOW_HARDFILE_TESTS_DIRECTORY}} | ||
run: .\WinFellow.Hardfile.Tests.exe --reporter JUnit::out=WinFellowHardfileTestsResult-junit.xml | ||
|
||
- name: Check test results | ||
uses: mikepenz/action-junit-report@v3 | ||
with: | ||
report_paths: '${{env.SOLUTION_DIRECTORY}}\**\*junit.xml' | ||
# name: MSBuild | ||
|
||
# on: | ||
# push: | ||
# branches: ["master"] | ||
# pull_request: | ||
# branches: ["master"] | ||
|
||
# env: | ||
# # Configuration type to build. | ||
# # You can convert this to a build matrix if you need coverage of multiple configuration types. | ||
# # https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix | ||
# BUILD_CONFIGURATION: Release | ||
# BUILD_PLATFORM: x64 | ||
# # Path to the solution file relative to the root of the project. | ||
# SOLUTION_FILE_PATH: fellow\SRC\WinFellow.sln | ||
# SOLUTION_DIRECTORY: fellow\SRC | ||
# WINFELLOW_CORE_TESTS_DIRECTORY: fellow\SRC\WinFellow.Core.Tests\x64\Release\ | ||
# WINFELLOW_HARDFILE_TESTS_DIRECTORY: fellow\SRC\WinFellow.Hardfile.Tests\x64\Release\ | ||
|
||
# permissions: | ||
# contents: read | ||
# checks: write | ||
|
||
# jobs: | ||
# build: | ||
# runs-on: windows-latest | ||
|
||
# steps: | ||
# - uses: actions/checkout@v3 | ||
|
||
# - name: Add MSBuild to PATH | ||
# uses: microsoft/setup-msbuild@v1.1 | ||
|
||
# - name: Build | ||
# working-directory: ${{env.GITHUB_WORKSPACE}} | ||
# # Add additional options to the MSBuild command line here (like platform or verbosity level). | ||
# # See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference | ||
# run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} /p:Platform=${{env.BUILD_PLATFORM}} ${{env.SOLUTION_FILE_PATH}} | ||
|
||
# - name: Run core unit-tests | ||
# working-directory: ${{env.WINFELLOW_CORE_TESTS_DIRECTORY}} | ||
# run: .\WinFellow.Core.Tests.exe --reporter JUnit::out=WinFellowCoreTestsResult-junit.xml | ||
|
||
# - name: Run hardfile unit-tests | ||
# working-directory: ${{env.WINFELLOW_HARDFILE_TESTS_DIRECTORY}} | ||
# run: .\WinFellow.Hardfile.Tests.exe --reporter JUnit::out=WinFellowHardfileTestsResult-junit.xml | ||
|
||
# - name: Check test results | ||
# uses: mikepenz/action-junit-report@v3 | ||
# with: | ||
# report_paths: '${{env.SOLUTION_DIRECTORY}}\**\*junit.xml' |