ci: remove windows xwin builds
All checks were successful
record-daemon / Build, check and test (push) Successful in 2m3s

This commit is contained in:
2026-03-21 15:09:38 +01:00
parent 9e6aa8c048
commit 5d4fecc108

View File

@@ -51,45 +51,4 @@ jobs:
env:
RUST_LOG: debug
# Windows release build using cargo-xwin (cross-compile from Linux)
build-windows-xwin:
name: Build Windows (xwin)
runs-on: ubuntu-latest
needs: [build-test]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
targets: x86_64-pc-windows-msvc
- name: Install cargo-xwin
run: cargo install cargo-xwin
- name: Build release for Windows
run: cargo xwin build --release --target x86_64-pc-windows-msvc
working-directory: record-daemon
- name: Prepare release artifact
run: |
mkdir -p release
# Copy the executable
cp record-daemon/target/x86_64-pc-windows-msvc/release/record-daemon.exe release/
# Copy all DLL files from the release directory (libobs and dependencies)
cp record-daemon/target/x86_64-pc-windows-msvc/release/*.dll release/ 2>/dev/null || true
# Copy documentation
cp record-daemon/README.md release/ 2>/dev/null || true
- name: Create zip archive
run: |
cd release
zip -r ../record-daemon-windows-x86_64.zip .
- name: Upload Windows artifact
uses: actions/upload-artifact@v4
with:
name: record-daemon-windows-x86_64.zip
path: record-daemon-windows-x86_64.zip
retention-days: 30
# TODO: Add windows native builds