Skip to content

♻️refactor with c++20 ,module #134

♻️refactor with c++20 ,module

♻️refactor with c++20 ,module #134

Workflow file for this run

name: windows-build
on:
workflow_dispatch:
pull_request:
branches: [dev]
push:
branches: [dev]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest]
compiler: ["--toolchain=clang-cl", "--toolchain=msvc"]
steps:
- uses: actions/checkout@v4
- name: Download ISPC (Windows)
run: |
Invoke-WebRequest -Uri "https://github.com/ispc/ispc/releases/download/v1.27.0/ispc-v1.27.0-windows.zip" -OutFile "ispc.zip"
7z x ispc.zip
"ispc-v1.27.0-windows/bin" >> $env:GITHUB_PATH
- name: Setup Vulkan SDK
uses: humbletim/[email protected]
with:
vulkan-query-version: latest
vulkan-components: Vulkan-Headers, Vulkan-Loader
vulkan-use-cache: true
- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: latest
actions-cache-folder: ".xmake-cache"
- name: Config
run: |
xmake f -y -a x64 -m release ${{ matrix.compiler }}
- name: Build
run: |
xmake -vD