-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 changed file
with
19 additions
and
4 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,8 +1,8 @@ | ||
name: MSBuild | ||
|
||
on: | ||
# push: | ||
# branches: [ "main" ] | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
|
@@ -14,7 +14,7 @@ permissions: | |
contents: read | ||
|
||
jobs: | ||
build-braze_compiler: | ||
build-compiler_lib: | ||
runs-on: windows-latest | ||
|
||
steps: | ||
|
@@ -27,6 +27,21 @@ jobs: | |
run: nuget restore braze_compiler.sln | ||
|
||
- name: Build braze_compiler Static Library | ||
run: msbuild compiler_lib/compiler_lib.vcxproj.vcxproj /p:Configuration=${{ env.BUILD_CONFIGURATION }} /p:Platform=${{ env.PLATFORM }} /verbosity:diagnostic | ||
|
||
build-braze_compiler: | ||
runs-on: windows-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Add MSBuild to PATH | ||
uses: microsoft/[email protected] | ||
|
||
- name: Restore NuGet packages | ||
run: nuget restore braze_compiler.sln | ||
|
||
- name: Build braze_compiler executable | ||
run: msbuild braze_compiler/braze_compiler.vcxproj /p:Configuration=${{ env.BUILD_CONFIGURATION }} /p:Platform=${{ env.PLATFORM }} /verbosity:diagnostic | ||
|
||
build-unit_test: | ||
|
@@ -43,4 +58,4 @@ jobs: | |
run: nuget restore braze_compiler.sln | ||
|
||
- name: Build unit_test Project | ||
run: msbuild unit_test/unit_test.vcxproj /p:Configuration=${{ env.BUILD_CONFIGURATION }} /p:Platform=${{ env.PLATFORM }} /verbosity:diagnostic | ||
run: msbuild unit_test/unit_test.vcxproj /p:Configuration=${{ env.BUILD_CONFIGURATION }} /p:Platform=${{ env.PLATFORM }} /verbosity:diagnostic |