Skip to content

Merge branch 'main' of https://github.com/Joshhhuaaa/EnhancedSC #139

Merge branch 'main' of https://github.com/Joshhhuaaa/EnhancedSC

Merge branch 'main' of https://github.com/Joshhhuaaa/EnhancedSC #139

Workflow file for this run

name: CI Builds
env:
CI: true
on:
push:
branches: ["**"]
pull_request:
branches: ["**"]
permissions:
contents: read
defaults:
run:
shell: pwsh
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1.1
# Zydis cache setup
- name: Get Zydis submodule hash
id: zydishash
run: |
cd external/zydis
$hash = git rev-parse HEAD
"hash=$hash" | Out-File -FilePath $env:GITHUB_OUTPUT -Append -Encoding utf8
- name: Cache Zydis
uses: actions/cache@v4
with:
path: |
external/zydis/msvc/bin/ReleaseX64
external/zydis/msvc/bin/ReleaseX86
key: zydis-${{ runner.os }}-${{ steps.zydishash.outputs.hash }}
- name: Build
run: msbuild "${{ github.event.repository.name }}.sln" /m -t:rebuild -verbosity:minimal -property:Configuration=Release -property:Platform=x86