From b1b28910160e9bb578197eb6dcbb9d8c48a76e44 Mon Sep 17 00:00:00 2001 From: Petter Schau Date: Tue, 26 Nov 2024 22:12:47 +0100 Subject: [PATCH] test doxygen step --- .github/doxygen.yml | 24 ++++++++ .github/workflows/msbuild.yml | 104 +++++++++++++++++----------------- 2 files changed, 76 insertions(+), 52 deletions(-) create mode 100644 .github/doxygen.yml diff --git a/.github/doxygen.yml b/.github/doxygen.yml new file mode 100644 index 00000000..b814eda4 --- /dev/null +++ b/.github/doxygen.yml @@ -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 diff --git a/.github/workflows/msbuild.yml b/.github/workflows/msbuild.yml index 68b273ca..a539e230 100644 --- a/.github/workflows/msbuild.yml +++ b/.github/workflows/msbuild.yml @@ -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'