Workflow file for this run
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 & Test Plugin Python | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
types: [opened, synchronize, reopened] | |
env: | |
VCPKG_BINARY_SOURCES: clear;x-azblob,${{ vars.AZ_BLOB_VCPKG_URL }},${{ secrets.AZ_BLOB_SAS }},readwrite | |
jobs: | |
build: | |
runs-on: windows-2022 | |
steps: | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- name: Configure Plugin Python | |
id: configure-plugin-python | |
uses: ModOrganizer2/build-with-mob-action@dev/vcpkg | |
with: | |
mo2-dependencies: uibase | |
mo2-skip-build: true | |
- name: Build Plugin Python | |
working-directory: ${{ steps.configure-plugin-python.outputs.working-directory }} | |
run: cmake --build vsbuild --config RelWithDebInfo --verbose ` | |
--target python-tests --target runner-tests --target proxy | |
- name: Test Plugin Python | |
working-directory: ${{ steps.configure-plugin-python.outputs.working-directory }} | |
run: ctest --test-dir vsbuild -C RelWithDebInfo --output-on-failure | |
- name: Install Plugin Python | |
working-directory: ${{ steps.configure-plugin-python.outputs.working-directory }} | |
run: cmake --build vsbuild --config RelWithDebInfo --target INSTALL |