Applied updates and changes for CI tests #7
This file contains hidden or 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
| # Build from source on Windows. | |
| name: build_windows | |
| on: | |
| pull_request: | |
| push: | |
| permissions: read-all | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| include: | |
| - os: windows-11-arm | |
| - os: windows-2022 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.12' | |
| - name: Install build dependencies | |
| run: | | |
| git clone https://github.com/libyal/vstools.git ..\vstools | |
| - name: Download test data | |
| run: | | |
| if (Test-Path .\synctestdata.ps1) { .\synctestdata.ps1 } | |
| - name: Building from source | |
| run: | | |
| .\synclibs.ps1 -UseHead | |
| .\autogen.ps1 | |
| .\build.ps1 -VisualStudioVersion 2022 -Configuration Release -Platform x64 -PythonPath ${{ env.pythonLocation }} -VSToolsOptions "--extend-with-x64 --no-python-dll" | |
| - name: Run tests | |
| run: | | |
| .\runtests.ps1 |