From 5dde539de05d33b892b5f90ea344082e6bcf9ecf Mon Sep 17 00:00:00 2001 From: JopStro <33031853+JopStro@users.noreply.github.com> Date: Sun, 5 May 2024 16:03:08 +0100 Subject: [PATCH] Create rust.yml --- .github/workflows/rust.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/rust.yml diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml new file mode 100644 index 0000000..e0750e8 --- /dev/null +++ b/.github/workflows/rust.yml @@ -0,0 +1,30 @@ +name: Rust + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + + runs-on: windows-latest + + steps: + - uses: actions/checkout@v4 + - uses: xpol/setup-lua@v1 + with: + lua-version: "luajit-2.0.5" + - name: Build + run: cargo build --verbose --release + env: + LUA_LIB: "./.lua/lib" + - uses: actions/upload-artifact@v2 + with: + name: json5.dll + path: target/release/json5.dll +