-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
74 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "nuget" # See documentation for possible values | ||
directory: "/" # Location of package manifests | ||
schedule: | ||
interval: "monthly" | ||
|
||
# Maintain dependencies for GitHub Actions | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "monthly" | ||
|
||
# Maintain dependencies for submodules | ||
- package-ecosystem: "gitsubmodule" | ||
directory: "/" | ||
schedule: | ||
interval: "monthly" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: Continuous Integration | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: windows-2019 | ||
strategy: | ||
matrix: | ||
build_configuration: [Release, Debug] | ||
build_platform: [x64, Win32] | ||
|
||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: 'true' | ||
|
||
- name: Add msbuild to PATH | ||
uses: microsoft/setup-msbuild@v1 | ||
|
||
- name: Setup NuGet.exe | ||
uses: nuget/setup-nuget@v1 | ||
|
||
- name: Restore | ||
working-directory: . | ||
run: nuget restore PythonScript.sln | ||
|
||
- name: MSBuild of solution | ||
working-directory: . | ||
run: msbuild PythonScript.sln /m /verbosity:minimal /p:configuration="${{ matrix.build_configuration }}" /p:platform="${{ matrix.build_platform }}" /p:PlatformToolset="v141" | ||
|
||
- name: Build docs | ||
if: matrix.build_configuration == 'Release' | ||
working-directory: docs | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -U sphinx | ||
.\make.bat html | ||
- name: Build installer and release zips | ||
if: matrix.build_configuration == 'Release' | ||
working-directory: installer | ||
run: | | ||
$env:PYTHONBUILDDIR_X64='..\packages\python2.2.7.18\tools' | ||
$env:PYTHONBUILDDIR='..\packages\python2x86.2.7.18\tools' | ||
Rename-Item -Path ".\buildPaths.bat.orig" -NewName "buildPaths.bat" | ||
$env:WIX_PATH="C:\Program Files (x86)\WiX Toolset v3.11\bin" | ||
$env:PATH = $env:PATH + ';' + $env:WIX_PATH | ||
.\buildAll.bat ${{ matrix.build_platform }} |