Testing with antiHashIndex being reset. #7822
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: Build-and-Test-MSVC-Windows | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
- dev | |
jobs: | |
Build: | |
runs-on: windows-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
build_type: [Debug, Release] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Append the directory of 'vcvarsall.bat' to PATH environment variable | |
uses: myci-actions/export-env-var-powershell@1 | |
with: | |
name: PATH | |
value: $env:PATH;C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build | |
- name: Install Seaborn | |
run: | | |
pip install seaborn | |
- name: Configure CMake for Jsonifier | |
run: | | |
cmake -S . -B ./Build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} | |
- name: Configure CMake | |
run: | | |
cmake -S . -B ./Build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DJSONIFIER_TEST="TRUE" | |
- name: Build the Test | |
run: | | |
cmake --build ./Build --config=${{matrix.build_type}} -v | |
- name: Install the Test | |
run: | | |
cmake --install ./Build --config=${{matrix.build_type}} | |
- name: Run the Test | |
working-directory: C:/Program Files (x86)/Jsonifier/bin/ | |
run: | | |
./Json-Performance | |
continue-on-error: true | |