diff --git a/.github/workflows/record-daemon.yml b/.github/workflows/record-daemon.yml index 070ee29..4548dbd 100644 --- a/.github/workflows/record-daemon.yml +++ b/.github/workflows/record-daemon.yml @@ -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