Files
KVF/.gitea/workflows/CI.yml
Kbz-8 1146a99c53
Some checks failed
Windows / build (windows-x86_64) (push) Failing after 2s
Windows / build (ubuntu-latest) (push) Failing after 2m38s
Windows / build (macos-x86_64) (push) Failing after 2m53s
fixing CI
2026-01-18 16:11:29 +01:00

46 lines
1.1 KiB
YAML

name: Windows
on:
repository_dispatch:
types: [create-pull-request]
pull_request:
push:
paths-ignore:
- '.gitignore'
- 'LICENSE'
- 'README.md'
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [windows-x86_64, macos-x86_64, ubuntu-latest]
runs-on: ${{ matrix.os }}
if: "!contains(github.event.head_commit.message, 'ci skip')"
steps:
- name: Get current date as package key
id: cache_key
shell: bash
run: echo "key=$(date +'%W')" >> "$GITHUB_OUTPUT"
- name: Checkout repository
uses: actions/checkout@v6
- name: Set xmake env
run: echo "XMAKE_GLOBALDIR=${{ runner.workspace }}/xmake-global" >> $GITHUB_ENV
- name: Setup xmake
uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: branch@master
actions-cache-folder: .xmake-cache-W${{ steps.cache_key.outputs.key }}
- name: Update xmake repository
run: cd sandbox && xmake repo --root --update
- name: Build test
run: cd sandbox && xmake --yes --root