Skip to content

Add GPU-related constants and refresh function #163

Add GPU-related constants and refresh function

Add GPU-related constants and refresh function #163

Workflow file for this run

name: Build GPU-Switcher
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
jobs:
build-windows:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4.2.2
- name: Set up MSVC
uses: ilammy/msvc-dev-cmd@v1.13.0
with:
arch: x64
- name: Configure CMake
run: cmake -B build -G "Ninja" -DCMAKE_BUILD_TYPE=Release
- name: Build
run: cmake --build build --config Release
- name: Upload artifact
uses: actions/upload-artifact@v4.6.2
with:
name: GPU-Switcher-x64
path: build/GPU-Switcher.exe
retention-days: 30