Skip to content

Fix double slash in d3d8to9.dll path #523

Fix double slash in d3d8to9.dll path

Fix double slash in d3d8to9.dll path #523

Workflow file for this run

name: CI
on:
push:
pull_request:
env:
BUILD_TYPE: Release
SCCACHE_GHA_ENABLED: "true"
jobs:
build-mingw:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: mozilla-actions/sccache-action@v0.0.7
- name: Install packages
run: |
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install --no-install-recommends g++-mingw-w64-i686-posix ninja-build wine32 wine
- name: Create build environment
run: cmake -E make_directory ./build
- name: Configure CMake
working-directory: ./build
run: |
cmake .. \
-D CMAKE_C_COMPILER_LAUNCHER=sccache \
-D CMAKE_CXX_COMPILER_LAUNCHER=sccache \
-D CMAKE_BUILD_TYPE=$BUILD_TYPE \
-D CMAKE_TOOLCHAIN_FILE=../cmake/mingw-ubuntu.cmake \
- name: Build
working-directory: ./build
run: cmake --build . -j $(nproc)
build-msvc:
runs-on: windows-2022
steps:
- uses: actions/checkout@v4
- uses: mozilla-actions/sccache-action@v0.0.7
- name: Install Ninja
run: choco install ninja
- name: Add Launch-VsDevShell.ps1 to PATH
run: |
$vs = (Get-CimInstance MSFT_VSInstance -Namespace root/cimv2/vs).InstallLocation
Write-Output (Join-Path $vs Common7\Tools) >> $env:GITHUB_PATH
- name: Create build environment
run: cmake -E make_directory .\build
- name: Configure CMake
working-directory: ./build
run: |
Launch-VsDevShell.ps1 -HostArch amd64 -Arch x86 -SkipAutomaticLocation
cmake .. `
-G Ninja `
-D CMAKE_C_COMPILER_LAUNCHER=sccache `
-D CMAKE_CXX_COMPILER_LAUNCHER=sccache `
-D CMAKE_BUILD_TYPE="$env:BUILD_TYPE"
- name: Build
working-directory: ./build
run: |
Launch-VsDevShell.ps1 -HostArch amd64 -Arch x86 -SkipAutomaticLocation
cmake --build . -j $env:NUMBER_OF_PROCESSORS