Skip to content

Merge pull request #45 from rodneylab/ci__update_ci_config #87

Merge pull request #45 from rodneylab/ci__update_ci_config

Merge pull request #45 from rodneylab/ci__update_ci_config #87

Workflow file for this run

name: Windows CI Test
on:
push:
branches: [main, master, dev]
pull_request:
branches: [main, master, dev]
permissions:
contents: read
jobs:
build:
runs-on: windows-2022
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit
disable-telemetry: true
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: configure
run: |
cmake -H"." -Bbuild -T host=x86 -A x64 -DCMAKE_BUILD_TYPE="Debug"
- name: building
run: |
cmake --build build --config Debug --target ComponentsTests QueriesTests SystemsTests Vector2DTests
- name: run components unit tests
run: |
cd build
cd bin
cd Debug
.\ComponentsTests
- name: run queries unit tests
run: |
cd build
cd bin
cd Debug
.\QueriesTests
- name: run systems unit tests
run: |
cd build
cd bin
cd Debug
.\SystemsTests
- name: run systems vector2d tests
run: |
cd build
cd bin
cd Debug
.\Vector2DTests