-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- converted to CMake project - removed encryption/decryption
- Loading branch information
Showing
156 changed files
with
1,089 additions
and
136,713 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 |
---|---|---|
@@ -1,28 +1,37 @@ | ||
name: MSBuild | ||
name: Build dvsku_toolkit | ||
|
||
on: | ||
push: | ||
branches: [ "master" ] | ||
pull_request: | ||
branches: [ "master" ] | ||
|
||
env: | ||
SOLUTION_FILE_PATH: src/ | ||
BUILD_CONFIGURATION: Release | ||
|
||
permissions: | ||
contents: read | ||
push: | ||
branches: [ "master" ] | ||
pull_request: | ||
branches: [ "master" ] | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-2022 | ||
build: | ||
runs-on: windows-latest | ||
|
||
strategy: | ||
matrix: | ||
architecture: [x86, x64] | ||
build_type: [Release] | ||
|
||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v3 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up VS toolchain | ||
uses: ilammy/msvc-dev-cmd@v1 | ||
with: | ||
arch: ${{ matrix.architecture }} | ||
|
||
- name: Add MSBuild to PATH | ||
uses: microsoft/setup-msbuild@v1.0.2 | ||
- name: Setup Ninja | ||
uses: ashutoshvarma/setup-ninja@master | ||
with: | ||
version: 1.10.0 | ||
|
||
- name: Build | ||
working-directory: ${{env.GITHUB_WORKSPACE}} | ||
run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}} | ||
- name: Build | ||
uses: ashutoshvarma/action-cmake-build@master | ||
with: | ||
build-dir: ${{ runner.workspace }}/build | ||
configure-options: -G Ninja -DCMAKE_CXX_COMPILER=cl -DCMAKE_C_COMPILER=cl | ||
build-type: ${{ matrix.build_type }} |
Oops, something went wrong.