You've already forked coldloader-proxy
mirror of
https://github.com/denuvosanctuary/coldloader-proxy.git
synced 2026-04-29 15:47:24 -07:00
39 lines
913 B
YAML
39 lines
913 B
YAML
name: Build DLL
|
|
|
|
on: [push, pull_request]
|
|
|
|
env:
|
|
CARGO_TERM_COLOR: always
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: windows-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
- target: x86_64-pc-windows-msvc
|
|
arch: x64
|
|
- target: i686-pc-windows-msvc
|
|
arch: x86
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Install Rust
|
|
uses: dtolnay/rust-toolchain@nightly
|
|
with:
|
|
targets: ${{ matrix.target }}
|
|
|
|
- name: Setup Rust cache
|
|
uses: Swatinem/rust-cache@v2
|
|
|
|
- name: Build DLL (${{ matrix.arch }})
|
|
run: cargo build --release --target ${{ matrix.target }}
|
|
|
|
- name: Upload DLL (${{ matrix.arch }})
|
|
uses: actions/upload-artifact@v7
|
|
with:
|
|
name: coldloader-proxy-${{ matrix.arch }}
|
|
path: target/${{ matrix.target }}/release/*.dll |