feat(balance): update capacity of power armor holsters #6233
Workflow file for this run
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: Cataclysm Windows build (MSVC) | |
on: | |
push: | |
branches: | |
- upload | |
paths-ignore: | |
- 'android/**' | |
- 'build-data/osx/**' | |
- 'doc/**' | |
- 'doxygen_doc/**' | |
- 'gfx/**' | |
- 'lang/**' | |
- 'lgtm/**' | |
- 'tools/**' | |
- '!tools/format/**' | |
- 'utilities/**' | |
- 'scripts/**' | |
pull_request: | |
branches: | |
- upload | |
paths-ignore: | |
- 'android/**' | |
- 'build-data/osx/**' | |
- 'doc/**' | |
- 'doxygen_doc/**' | |
- 'gfx/**' | |
- 'lang/**' | |
- 'lgtm/**' | |
- 'tools/**' | |
- '!tools/format/**' | |
- 'utilities/**' | |
- 'scripts/**' | |
# We only care about the latest revision of a PR, so cancel previous instances. | |
concurrency: | |
group: msvc-build-${{ github.event.pull_request.number || github.ref_name }} | |
cancel-in-progress: true | |
env: | |
# There's not enough disk space to build both release and debug versions of | |
# our dependencies, so we hack the triplet file to build only release versions | |
# Have to use github.workspace because runner namespace isn't available yet. | |
VCPKG_OVERLAY_TRIPLETS: ${{ github.workspace }}\.github\vcpkg_triplets | |
ZSTD_CLEVEL: 17 | |
jobs: | |
build_catatclysm: | |
name: Build | |
runs-on: windows-2019 | |
if: github.event.pull_request.draft == false | |
steps: | |
- name: checkout repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- name: Add msbuild to PATH | |
uses: microsoft/[email protected] | |
- name: Install stable CMake | |
uses: lukka/get-cmake@latest | |
- name: Install vcpkg | |
uses: lukka/run-vcpkg@v11 | |
id: runvcpkg | |
with: | |
vcpkgDirectory: '${{ runner.workspace }}/b/vcpkg' | |
vcpkgGitCommitId: 'c9aba300923c8ec0ab190e2bff23085209925c97' | |
- name: Integrate vcpkg | |
run: | | |
vcpkg integrate install | |
- uses: ammaraskar/msvc-problem-matcher@master | |
- name: Build | |
run: | | |
cd msvc-full-features | |
msbuild -m -p:Configuration=Release -p:Platform=x64 "-target:Cataclysm-vcpkg-static;Cataclysm-test-vcpkg-static;JsonFormatter-vcpkg-static" Cataclysm-vcpkg-static.sln | |
- name: Dump logs if build failed | |
if: failure() | |
run: | | |
echo ================================================= | |
Get-ChildItem "${{ runner.workspace }}/Cataclysm-BN/msvc-full-features/vcpkg_installed" -Recurse | |
echo ================================================= | |
Get-ChildItem "${{ runner.workspace }}/b/vcpkg/buildtrees" | | |
Foreach-Object { | |
Get-ChildItem $_.FullName -Filter *.log | | |
Foreach-Object { | |
echo ================================================= | |
echo $_.FullName | |
echo ================================================= | |
type $_.FullName | |
} | |
} | |
- name: Compile .mo files for localization | |
run: | | |
& "C:\msys64\mingw64\bin\mingw32-make" localization | |
- name: Run tests | |
run: | | |
.\Cataclysm-test-vcpkg-static-Release-x64.exe --rng-seed time | |
- name: Clean | |
run: | | |
Get-ChildItem -Path Cataclysm-lib-vcpkg-static-Release-x64.* | Foreach-Object { rm $_.FullName } |