[Build] Add flag to build-win.ps1 that allows to build Release.static… #5241
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
| name: Build and Run Unit/Functional tests on Windows | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - main | |
| - dev | |
| - dev/* | |
| - release/* | |
| - buildme/* | |
| pull_request: | |
| branches: | |
| - master | |
| - main | |
| - dev | |
| schedule: | |
| - cron: 0 2 * * 1-5 | |
| jobs: | |
| test: | |
| name: Test on Windows ${{ matrix.arch }}-${{ matrix.build }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| arch: [Win32, x64] | |
| build: [Release, Debug] | |
| os: [windows-2022] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v1 | |
| continue-on-error: true | |
| - name: setup-msbuild | |
| uses: microsoft/setup-msbuild@v1.1 | |
| with: | |
| vs-version: '[16,)' | |
| - name: Test ${{ matrix.arch }} ${{ matrix.build }} | |
| shell: cmd | |
| run: build-tests.cmd ${{ matrix.arch }} ${{ matrix.build }} |