Fix Unreal Platform include automatic extraction #144
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
name: Build Apps | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
env: | |
extractorDir: ./DataExtractor | |
parserDir: ./Parser | |
appsDir: ./CompileScore | |
extractorSolution: ScoreDataExtractor.sln | |
parserSolution: CompileScoreParser.sln | |
appsSolution: CompileScore.sln | |
toolsBuildConfig: Release | |
NetPlatform: net7.0-windows | |
strategy: | |
matrix: | |
buildconfig: [Release] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Checkout LLVM library | |
uses: actions/checkout@v4 | |
with: | |
repository: Viladoman/ClangArtifacts | |
sparse-checkout: llvm-project | |
path: External | |
- name: Add MSBuild to PATH | |
uses: microsoft/setup-msbuild@v1 | |
- uses: nuget/setup-nuget@v1 | |
with: | |
nuget-version: '5.x' | |
- name: NuGet restore Score Data Extractor | |
working-directory: ${{env.extractorDir}} | |
run: nuget restore ${{ env.extractorSolution }} | |
- name: Build Score Data Extractor | |
working-directory: ${{env.extractorDir}} | |
run: msbuild /m /p:Configuration=${{ env.toolsBuildConfig }} /p:Platform=x64 ${{ env.extractorSolution }} | |
- name: Build Parser | |
working-directory: ${{env.parserDir}} | |
run: msbuild /m /p:Configuration=${{ env.toolsBuildConfig }} /p:Platform=x64 ${{ env.parserSolution }} | |
- name: NuGet restore Compile Score | |
working-directory: ${{env.appsDir}} | |
run: nuget restore ${{ env.appsSolutionName }} | |
- name: Build Compile Score VSIX | |
working-directory: ${{env.appsDir}} | |
run: msbuild /m /p:Configuration=${{matrix.buildconfig}} ${{ env.appsSolutionName }} | |
- name: Upload Extractor Artifact 1 | |
if: ${{matrix.buildconfig == env.toolsBuildConfig}} | |
uses: actions/upload-artifact@v3 | |
with: | |
name: CompileScore-Extractor-${{ env.toolsBuildConfig }} | |
path: ${{env.extractorDir}}/bin/x64/${{ env.toolsBuildConfig }}/*.exe | |
- name: Upload Extractor Artifact 2 | |
if: ${{matrix.buildconfig == env.toolsBuildConfig}} | |
uses: actions/upload-artifact@v3 | |
with: | |
name: CompileScore-Extractor-${{ env.toolsBuildConfig }} | |
path: ${{env.extractorDir}}/bin/x64/${{ env.toolsBuildConfig }}/*.dll | |
- name: Upload Parser Artifact | |
if: ${{matrix.buildconfig == env.toolsBuildConfig}} | |
uses: actions/upload-artifact@v3 | |
with: | |
name: CompileScore-Parser-${{env.toolsBuildConfig}} | |
path: ${{env.parserDir}}/bin/x64/${{env.toolsBuildConfig}}/CompileScoreParser.exe | |
- name: Upload VSIX 2019 Extension Artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: CompileScore-VSIX2019-${{matrix.buildconfig}} | |
path: ${{env.appsDir}}/VSIX16/bin/${{matrix.buildconfig}}/CompileScore.vsix | |
- name: Upload VSIX 2022 Extension Artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: CompileScore-VSIX2022-${{matrix.buildconfig}} | |
path: ${{env.appsDir}}/VSIX17/bin/${{matrix.buildconfig}}/CompileScore.vsix | |
- name: Upload App Artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: CompileScore-App-${{matrix.buildconfig}} | |
path: ${{env.appsDir}}/WPF/bin/${{matrix.buildconfig}}/${{ env.NetPlatform }}/* |