Skip to content

support 64 bit hashes #212

support 64 bit hashes

support 64 bit hashes #212

Workflow file for this run

name: gMod CI Pipeline
on:
pull_request:
branches:
- master
push:
branches:
- dev
workflow_dispatch:
jobs:
build:
strategy:
matrix:
targetplatform: [x86]
runs-on: windows-latest
env:
Configuration: Release
Actions_Allow_Unsecure_Commands: true
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup MSBuild.exe
uses: microsoft/[email protected]
- name: Cache DirectX SDK Installer
id: cache-directx
uses: actions/cache@v4
with:
path: ${{ runner.temp }}/directx_Jun2010_redist.exe
key: directx-June2010-sdk
- name: Download DirectX SDK if not cached
if: steps.cache-directx.outputs.cache-hit != 'true'
run: |
Invoke-WebRequest -Uri https://download.microsoft.com/download/1/9/7/197F5C3F-AB0A-4A28-AEFF-89E25F41E5E0/directx_Jun2010_redist.exe -OutFile $env:RUNNER_TEMP\directx_Jun2010_redist.exe
- name: Install DirectX SDK
run: |
Start-Process -FilePath $env:RUNNER_TEMP\directx_Jun2010_redist.exe -ArgumentList "/Q /T:$env:RUNNER_TEMP\dxsdk" -Wait
Start-Process -FilePath "$env:RUNNER_TEMP\dxsdk\DXSETUP.exe" -ArgumentList "/silent" -Wait
- name: Build CMake Files
run: cmake -S . -B build -A Win32
- name: Build binaries
run: cmake --build build --config Release