Skip to content

Commit

Permalink
Next fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
drsnuggles8 committed Feb 15, 2025
1 parent a82a207 commit 30bbc95
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/SonarCloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: '3.12'

- name: Install python dependencies
run: pip install jinja2
Expand Down
17 changes: 3 additions & 14 deletions .github/workflows/Windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,17 @@ on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

env:
BUILD_TYPE: Release

jobs:
build:
# The CMake configure and build commands are platform agnostic and should work equally well on Ubuntu or Mac.
# You can convert this to a matrix build if you need cross-platform coverage.
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
runs-on: windows-latest

steps:
- uses: actions/checkout@v4

- name: Install Python 3.10
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: '3.12'

- name: Install python dependencies
run: pip install jinja2
Expand All @@ -36,18 +30,13 @@ jobs:
cache: true

- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
run: cmake -B ${{github.workspace}}/build

- name: Build with CMake
# Build your program with the given configuration
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
run: cmake --build ${{github.workspace}}/build --config Debug

- name: Run tests with CTest
working-directory: ${{github.workspace}}/build/OloEngine/tests
# Execute tests defined by the CMake configuration.
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
run: ctest -V

- name: Upload test results
Expand Down
11 changes: 3 additions & 8 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ on:
types: [opened, synchronize, reopened]
workflow_dispatch:

env:
BUILD_TYPE: Release

jobs:
analyze:
name: Analyze
Expand All @@ -25,10 +22,10 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install Python 3.10
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: '3.12'

- name: Install python dependencies
run: pip install jinja2
Expand All @@ -42,15 +39,13 @@ jobs:
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}

- name: Build with CMake
# Build your program with the given configuration
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
run: cmake --build ${{github.workspace}}/build --config Debug

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3

0 comments on commit 30bbc95

Please sign in to comment.