Files
dndcli/.gitea/workflows/ci.yaml
Lauren Kaviak 6ecd9fd8da
Some checks failed
Continuous Releases / build (windows) (push) Failing after 0s
hello world
2026-03-20 02:33:29 -05:00

27 lines
812 B
YAML

on: [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 }}"