Skip to content

Working on the build workflow - 09/13/2023 03:58:50 UTC #7

Working on the build workflow - 09/13/2023 03:58:50 UTC

Working on the build workflow - 09/13/2023 03:58:50 UTC #7

Workflow file for this run

name: Main Build
on:
push:
paths:
- '**.cpp'
- '**.h'
- '**.sln'
- '**.yml'
- '*.yml'
- '**.ps1'
env:
VS_PROGRAM: 1
VS_FILE: 0
VS_EPOCH:
VS_FULL:
RELEASE_TITLE: "Hosts Compress"
RELEASE_FILE: "./docs/md/pre-release.md"
PRERELEASE: True
jobs:
build_windows:
name: Build Windows Project
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: microsoft/setup-msbuild@v1.3.1
- id: make_hosts_compress
run: |
$cl = (Get-ChildItem -Path "$Env:ProgramW6432\Microsoft Visual Studio\" -Recurse -Filter "cl.exe").FullName | Select-String ".*x64\\x64.*"
cd hostscompress || exit 255
& $cl[-1] /c /Ycpch.h /std:c++20 /W4 /EHsc pch.cpp || exit 254
if (-Not (Test-Path -Path pch.pch)) { Exit 253 }