-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- add github CI action - update to VS2022 - added arm64 - use gitignore from plugintemplate - avoid compiler warnings about hidden global vars - enabled multithreaded builds in vcxproj - enabled sdl checks in vcxproj - corrected platform toolset for x64 release build - corrected copy action of readme.txt Close #1
- Loading branch information
Showing
10 changed files
with
641 additions
and
83 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,13 @@ | ||
# 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: | ||
|
||
# Maintain dependencies for GitHub Actions | ||
- package-ecosystem: "github-actions" | ||
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,75 @@ | ||
name: CI_build | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: windows-latest | ||
strategy: | ||
matrix: | ||
build_configuration: [Release, Debug] | ||
build_platform: [x64, Win32, ARM64] | ||
|
||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: Add msbuild to PATH | ||
uses: microsoft/setup-msbuild@v1 | ||
|
||
- name: MSBuild of plugin dll | ||
working-directory: vs.proj\ | ||
run: msbuild SelectNLaunch.vcxproj /m /p:configuration="${{ matrix.build_configuration }}" /p:platform="${{ matrix.build_platform }}" | ||
|
||
- uses: olegtarasov/[email protected] | ||
id: tagName | ||
|
||
- name: zip artifacts for x64 | ||
if: matrix.build_platform == 'x64' && matrix.build_configuration == 'Release' | ||
run: | | ||
Remove-Item bin64\*.ipdb | ||
Remove-Item bin64\*.iobj | ||
7z a selectNLaunch_${{ steps.tagName.outputs.tag }}_${{ matrix.build_platform }}.zip .\bin64\* | ||
- name: Archive artifacts for x64 | ||
if: matrix.build_platform == 'x64' && matrix.build_configuration == 'Release' | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: selectNLaunch_${{ steps.tagName.outputs.tag }}_${{ matrix.build_platform }}.zip | ||
path: selectNLaunch_${{ steps.tagName.outputs.tag }}_${{ matrix.build_platform }}.zip | ||
|
||
- name: zip artifacts for Win32 | ||
if: matrix.build_platform == 'Win32' && matrix.build_configuration == 'Release' | ||
run: | | ||
Remove-Item bin\*.ipdb | ||
Remove-Item bin\*.iobj | ||
7z a selectNLaunch_${{ steps.tagName.outputs.tag }}_${{ matrix.build_platform }}.zip .\bin\* | ||
- name: Archive artifacts for Win32 | ||
if: matrix.build_platform == 'Win32' && matrix.build_configuration == 'Release' | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: selectNLaunch_${{ steps.tagName.outputs.tag }}_${{ matrix.build_platform }}.zip | ||
path: selectNLaunch_${{ steps.tagName.outputs.tag }}_${{ matrix.build_platform }}.zip | ||
|
||
- name: zip artifacts for ARM64 | ||
if: matrix.build_platform == 'ARM64' && matrix.build_configuration == 'Release' | ||
run: | | ||
Remove-Item arm64\*.ipdb | ||
Remove-Item arm64\*.iobj | ||
7z a selectNLaunch_${{ steps.tagName.outputs.tag }}_${{ matrix.build_platform }}.zip .\arm64\* | ||
- name: Archive artifacts for ARM64 | ||
if: matrix.build_platform == 'ARM64' && matrix.build_configuration == 'Release' | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: selectNLaunch_${{ steps.tagName.outputs.tag }}_${{ matrix.build_platform }}.zip | ||
path: selectNLaunch_${{ steps.tagName.outputs.tag }}_${{ matrix.build_platform }}.zip | ||
|
||
- name: Create release on tagging | ||
uses: softprops/action-gh-release@v1 | ||
if: startsWith(github.ref, 'refs/tags/') | ||
with: | ||
files: selectNLaunch_${{ steps.tagName.outputs.tag }}_${{ matrix.build_platform }}.zip | ||
|
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 |
---|---|---|
@@ -1,12 +1,17 @@ | ||
*.sdf | ||
*.sln | ||
*.suo | ||
bin/ | ||
bin64/ | ||
arm64/ | ||
vs.proj/Debug | ||
vs.proj/Release | ||
vs.proj/x64 | ||
bin64 | ||
bin | ||
*.suo | ||
*.sln | ||
*.sdf | ||
vs.proj/ARM64 | ||
vs.proj/SelectNLaunch.opensdf | ||
src/SelectNLaunch.aps | ||
vs.proj/SelectNLaunch.exp | ||
vs.proj/SelectNLaunch.lib | ||
vs.proj/SelectNLaunch.exp | ||
vs.proj/SelectNLaunch.vcxproj.user | ||
vs.proj/.vs/ | ||
*.aps | ||
*.zip |
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
Oops, something went wrong.