Files
isideload/.github/workflows/build.yml
2025-08-11 16:13:20 -04:00

45 lines
962 B
YAML

name: "Build isideload"
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"
workflow_dispatch:
jobs:
build:
strategy:
fail-fast: false
matrix:
include:
- platform: "ubuntu-22.04"
- platform: "windows-latest"
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- name: Cache Rust dependencies
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-tauri-${{ hashFiles('Cargo.lock') }}
restore-keys: |
${{ runner.os }}-tauri-
- name: Install Rust stable
uses: dtolnay/rust-toolchain@stable
- name: Add MSVC to PATH
if: matrix.platform == 'windows-latest'
uses: ilammy/msvc-dev-cmd@v1
- name: Build
run: cargo build --features "vendored-openssl,vendored-botan"