Test updating a file again again again #234
Workflow file for this run
This file contains hidden or 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: CMake | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup MSVC | |
uses: ilammy/msvc-dev-cmd@v1.13.0 | |
with: | |
arch: x86 | |
# Setup sccache | |
- name: Setup sccache | |
uses: mozilla-actions/sccache-action@v0.0.9 | |
env: | |
SCCACHE_GHA_ENABLED: "true" | |
# Verify sccache is working | |
- name: Verify sccache | |
run: | | |
sccache --version | |
sccache --show-stats | |
# Run CMake with caching, disable vcpkg | |
- name: Configure and Build | |
run: | | |
cmake -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache . | |
ninja | |
mkdir output_III | |
mkdir output_VC | |
mkdir output_SA | |
env: | |
SCCACHE_GHA_ENABLED: "true" | |
# Show sccache stats after build | |
- name: Show sccache stats | |
run: sccache --show-stats | |
- name: Prepare artifacts | |
run: | | |
cp TrilogyChaosMod.III.asi output_III/TrilogyChaosMod.III.asi | |
cp TrilogyChaosMod.VC.asi output_VC/TrilogyChaosMod.VC.asi | |
cp TrilogyChaosMod.SA.asi output_SA/TrilogyChaosMod.SA.asi | |
- name: Upload III | |
uses: actions/upload-artifact@v4 | |
with: | |
name: "TrilogyChaosMod.III" | |
path: output_III | |
- name: Upload VC | |
uses: actions/upload-artifact@v4 | |
with: | |
name: "TrilogyChaosMod.VC" | |
path: output_VC | |
- name: Upload SA | |
uses: actions/upload-artifact@v4 | |
with: | |
name: "TrilogyChaosMod.SA" | |
path: output_SA |