Files
mimic3-keyboard/.gitea/workflows/ci.yaml
Lauren Kaviak 08a1634a4d
Some checks failed
Continuous integration / Check (push) Failing after 2m26s
Continuous integration / build (push) Has been cancelled
apt update before install
2026-03-18 00:04:52 -05:00

27 lines
820 B
YAML

on: [push, pull_request]
name: Continuous integration
env:
TARGET_PLATFORM: --target x86_64-pc-windows-gnu
APT_PACKAGES: mingw-w64
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- run: apt update && apt install ${{ env.APT_PACKAGES }}
- run: rustup target add "${{ env.TARGET_PLATFORM }}"
- run: cargo check --target "${{ env.TARGET_PLATFORM }}"
build:
name: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- run: apt update && apt install ${{ env.APT_PACKAGES }}
- run: rustup target add "${{ env.TARGET_PLATFORM }}"
- run: cargo build --target "${{ env.TARGET_PLATFORM }}