test #7012
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: test | |
on: | |
pull_request: | |
workflow_dispatch: | |
workflow_call: | |
inputs: | |
branch: | |
description: "ref branch for this workflow" | |
default: "master" | |
required: true | |
type: string | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
test-windows-x64: | |
runs-on: windows-latest | |
env: | |
VCPKGRS_DYNAMIC: 1 | |
steps: | |
- name: Set git to use LF | |
run: | | |
git config --global core.autocrlf false | |
git config --global core.eol lf | |
- name: Checkout repository | |
uses: actions/[email protected] | |
with: | |
ref: ${{ inputs.branch }} | |
- name: Install Rust | |
run: | | |
.\bin\install_rust.ps1 | |
- name: Manage vcpkg cache | |
uses: actions/[email protected] | |
with: | |
path: C:\vcpkg | |
key: ${{ runner.os }}-test-windows-x64 | |
- name: Install prerequisites | |
run: .\bin\install_prerequisites_windows.ps1 | |
- name: Install Python 3.11 | |
uses: actions/[email protected] | |
with: | |
python-version: '3.11' | |
- name: Environment | |
run: | | |
.\bin\activate_python3_venv.ps1 | |
.\bin\environment.ps1 | |
- name: Build and test | |
run: | | |
.\bin\activate_python3_venv.ps1 | |
.\bin\test\test_prerequisites.ps1 | |
.\bin\release\release.ps1 | |
.\bin\test\test_integ.ps1 | |
- name: Archive production artifacts | |
uses: actions/[email protected] | |
if: ${{ always() }} | |
with: | |
name: tests-win64-${{ matrix.rust }}-artifacts | |
path: | | |
./**/*.log | |