hello world
Some checks failed
Continuous Releases / build (windows) (push) Failing after 0s

This commit is contained in:
Eau
2026-03-20 02:33:29 -05:00
commit 6ecd9fd8da
6 changed files with 71 additions and 0 deletions

27
.gitea/workflows/cd.yaml Normal file
View File

@@ -0,0 +1,27 @@
on: [push]
name: Continuous Releases
env:
TARGET_PLATFORM: x86_64-pc-windows-gnu
APT_PACKAGES: mingw-w64
jobs:
build_windows:
name: build (windows)
container:
image: tea.werats.gay/laurayka/ci-rust-img:0.5.0
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: echo "/root/.cargo/bin" >> $GITHUB_PATH
- run: cargo build --release --target "${{ env.TARGET_PLATFORM }}"
- uses: https://gitea.com/actions/gitea-release-action@main
env:
NODE_OPTIONS: '--experimental-fetch' # if nodejs < 18
NODE_TLS_REJECT_UNAUTHORIZED: "false"
with:
tag_name: rc-${{ env.GITHUB_SHA }}
files: |-
target/*/release/mimic3-keyboard*

27
.gitea/workflows/ci.yaml Normal file
View File

@@ -0,0 +1,27 @@
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 }}"

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
/target

7
Cargo.lock generated Normal file
View File

@@ -0,0 +1,7 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 4
[[package]]
name = "dndcli"
version = "0.1.0"

6
Cargo.toml Normal file
View File

@@ -0,0 +1,6 @@
[package]
name = "dndcli"
version = "0.1.0"
edition = "2024"
[dependencies]

3
src/main.rs Normal file
View File

@@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}