[ivp] Bump submodule #189
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 | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
env: | |
HL2_SOLUTION_NAME_BASE: hl2 | |
HL2_EPISODIC_SOLUTION_NAME_BASE: episodic | |
PORTAL_SOLUTION_NAME_BASE: portal | |
permissions: | |
contents: read | |
jobs: | |
build_hl2: | |
name: Build Half-Life 2 | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
platform: [x86, x64] | |
configuration: [Debug, Release] | |
steps: | |
- name: Checkout repository and submodules | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Add MSBuild to PATH | |
uses: microsoft/setup-msbuild@v2 | |
with: | |
msbuild-architecture: ${{matrix.platform}} | |
- name: Add cmake / nmake to PATH | |
uses: ilammy/msvc-dev-cmd@v1 | |
with: | |
arch: ${{matrix.platform}} | |
- name: Build dependencies & generate solution | |
working-directory: ${{env.GITHUB_WORKSPACE}} | |
run: .\create_hl2_dev_${{matrix.platform}}.bat | |
- name: Build app | |
working-directory: ${{env.GITHUB_WORKSPACE}} | |
run: msbuild /m -verbosity:minimal /p:Configuration=${{matrix.configuration}} /p:Platform=${{matrix.platform}} ${{env.HL2_SOLUTION_NAME_BASE}}_${{matrix.platform}}.sln | |
build_hl2_episodic: | |
name: Build Half-Life 2 Episode 1 & 2 | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
platform: [x86, x64] | |
configuration: [Debug, Release] | |
steps: | |
- name: Checkout repository and submodules | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Add MSBuild to PATH | |
uses: microsoft/setup-msbuild@v2 | |
with: | |
msbuild-architecture: ${{matrix.platform}} | |
- name: Add cmake / nmake to PATH | |
uses: ilammy/msvc-dev-cmd@v1 | |
with: | |
arch: ${{matrix.platform}} | |
- name: Build dependencies & generate solution | |
working-directory: ${{env.GITHUB_WORKSPACE}} | |
run: .\create_hl2_ep1_2_dev_${{matrix.platform}}.bat | |
- name: Build app | |
working-directory: ${{env.GITHUB_WORKSPACE}} | |
run: msbuild /m -verbosity:minimal /p:Configuration=${{matrix.configuration}} /p:Platform=${{matrix.platform}} ${{env.HL2_EPISODIC_SOLUTION_NAME_BASE}}_${{matrix.platform}}.sln | |
build_portal: | |
name: Build Portal | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
platform: [x86, x64] | |
configuration: [Debug, Release] | |
steps: | |
- name: Checkout repository and submodules | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Add MSBuild to PATH | |
uses: microsoft/setup-msbuild@v2 | |
with: | |
msbuild-architecture: ${{matrix.platform}} | |
- name: Add cmake / nmake to PATH | |
uses: ilammy/msvc-dev-cmd@v1 | |
with: | |
arch: ${{matrix.platform}} | |
- name: Build dependencies & generate solution | |
working-directory: ${{env.GITHUB_WORKSPACE}} | |
run: .\create_portal_dev_${{matrix.platform}}.bat | |
- name: Build app | |
working-directory: ${{env.GITHUB_WORKSPACE}} | |
run: msbuild /m -verbosity:minimal /p:Configuration=${{matrix.configuration}} /p:Platform=${{matrix.platform}} ${{env.PORTAL_SOLUTION_NAME_BASE}}_${{matrix.platform}}.sln | |