Files
mimic3-keyboard/.gitea/workflows/ci.yaml
Lauren Kaviak ff019ae857
Some checks failed
Continuous integration / Check (push) Successful in 3m2s
Continuous integration / build (push) Failing after 2m48s
fix target platform env
2026-03-18 00:13:11 -05:00

27 lines
817 B
YAML

on: [push, pull_request]
name: Continuous integration
env:
TARGET_PLATFORM: 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 -y ${{ 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 -y ${{ env.APT_PACKAGES }}
- run: rustup target add "${{ env.TARGET_PLATFORM }}"
- run: cargo build --target "${{ env.TARGET_PLATFORM }}