Bump JetBrains/qodana-action from 2024.1.3 to 2024.1.5 #75
Workflow file for this run
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
name: Validate install | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
permissions: | |
contents: read | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ${{ matrix.win-version }} | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] | |
win-version: ["windows-2019", "windows-2022", "windows-latest"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r .\requirements.txt | |
- name: Add msbuild to PATH | |
uses: microsoft/[email protected] | |
- name: Run script | |
run: | | |
python setup.py | |
- name: Output PATH | |
run: | | |
echo $PATH | |
- name: Run Minimal wxWidgets sample (VS 2019) | |
if: matrix.win-version == 'windows-2019' | |
run: | | |
$folderWildCard = "wxWidgets-*" | |
$folder = Get-ChildItem -Path "C:\" -Filter $folderWildCard -Directory | Select-Object -First 1 | |
$folderPath = $folder.FullName # Get the full path of the selected folder | |
msbuild "$folderPath\samples\minimal\minimal_vc16.sln" | |
- name: Run Minimal wxWidgets sample (VS 2022) | |
if: matrix.win-version == 'windows-2022' || matrix.win-version == 'windows-latest' | |
run: | | |
$folderWildCard = "wxWidgets-*" | |
$folder = Get-ChildItem -Path "C:\" -Filter $folderWildCard -Directory | Select-Object -First 1 | |
$folderPath = $folder.FullName # Get the full path of the selected folder | |
msbuild "$folderPath\samples\minimal\minimal_vc17.sln" | |
- name: Find built binary | |
run: | | |
$folderWildCard = "wxWidgets-*" | |
$folder = Get-ChildItem -Path "C:\" -Filter $folderWildCard -Directory | Select-Object -First 1 | |
$binary = Get-ChildItem -Path "$folder\samples\minimal\vc_mswud\*.exe" | Select-Object -First 1 | |
echo $binary |