commit 6ecd9fd8da95229bc4c255db02478f422148cf29 Author: Lauren Kaviak Date: Fri Mar 20 02:33:29 2026 -0500 hello world diff --git a/.gitea/workflows/cd.yaml b/.gitea/workflows/cd.yaml new file mode 100644 index 0000000..5d73d3b --- /dev/null +++ b/.gitea/workflows/cd.yaml @@ -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* \ No newline at end of file diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml new file mode 100644 index 0000000..625c9b0 --- /dev/null +++ b/.gitea/workflows/ci.yaml @@ -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 }}" \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ea8c4bf --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/target diff --git a/Cargo.lock b/Cargo.lock new file mode 100644 index 0000000..2d115b5 --- /dev/null +++ b/Cargo.lock @@ -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" diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..34ef43d --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,6 @@ +[package] +name = "dndcli" +version = "0.1.0" +edition = "2024" + +[dependencies] diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +}