From b89e7688189fff5f7d41844bb4ee96c64c697c87 Mon Sep 17 00:00:00 2001 From: h0lybyte <5599058+h0lybyte@users.noreply.github.com> Date: Mon, 17 Feb 2025 16:58:09 -0500 Subject: [PATCH] ci(tower-defense): updating the build pipeline with updated action versions. --- .../rust-dll-tower-defense-build.yml | 4 +-- .../src/content/docs/application/rust.mdx | 25 +++++++++++++++++++ .../kbve.com/src/content/journal/02-17.mdx | 10 ++++++++ 3 files changed, 37 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust-dll-tower-defense-build.yml b/.github/workflows/rust-dll-tower-defense-build.yml index cec5d7019..20c9b0957 100644 --- a/.github/workflows/rust-dll-tower-defense-build.yml +++ b/.github/workflows/rust-dll-tower-defense-build.yml @@ -9,7 +9,7 @@ jobs: steps: - name: Checkout Repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Rust Nightly with MSVC run: | @@ -22,7 +22,7 @@ jobs: cargo +nightly build -Z build-std=std,panic_abort -Z unstable-options --target x86_64-pc-windows-msvc --release --out-dir dist/windows - name: Upload DLL as Artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: rust_godot_towerdefense path: dist/windows/*.dll diff --git a/apps/kbve/kbve.com/src/content/docs/application/rust.mdx b/apps/kbve/kbve.com/src/content/docs/application/rust.mdx index 9b1f58adf..697b4d161 100644 --- a/apps/kbve/kbve.com/src/content/docs/application/rust.mdx +++ b/apps/kbve/kbve.com/src/content/docs/application/rust.mdx @@ -440,4 +440,29 @@ This crate is a user-friendly, easy-to-integrate, immediate-mode GUI library des --- +-- + +## CI + +For continuous integration, we recommend checking out our [git](/application/git/) section for more information. + + +### MSVC Target + +There will come a time where the rust application that you are building will require Windows SDK and ABI! +When that situation comes, there are three options that are available, but not limited to. + +**Windows Native Build** + +A simple approach would be to setup the Rust cargo and application on a Windows 11 operating system and compile it from there. + +**Github Actions** + +Github Actions can provide you with a cloud windows VM that will pull the source code and cargo build the target release, with pre-installed visual studio code. + +**Docker** + +Nix-ready or custom docker image that has a multi-stage build process, including a cargo chef and layer caching, provides a fast and local way to build across multiple operating systems. + + \ No newline at end of file diff --git a/apps/kbve/kbve.com/src/content/journal/02-17.mdx b/apps/kbve/kbve.com/src/content/journal/02-17.mdx index a2f05e64d..7c19757e2 100644 --- a/apps/kbve/kbve.com/src/content/journal/02-17.mdx +++ b/apps/kbve/kbve.com/src/content/journal/02-17.mdx @@ -10,6 +10,11 @@ tags: - daily --- + +import { Adsense } from '@kbve/astropad'; + + + ## Notes ## 2025 @@ -28,7 +33,12 @@ tags: Now the wry window does not resize everytime we change the screen size, that will be next to resolve. +### CI Rust MSVC + +- 04:48PM + Github action runner for the rust dll had some outdated actions, going to update them. + In addition to the version change, the notes in the `rust` section should be updated to reflect it. ## 2024