From e7cc33a175d807c08018937060e0079c85cd0f93 Mon Sep 17 00:00:00 2001 From: Sulaxan <43836460+Sulaxan@users.noreply.github.com> Date: Fri, 3 May 2024 14:45:53 -0400 Subject: [PATCH] add rust build github action --- .github/workflows/rust.yml | 20 ++++++++++++++++++++ 1 file changed, 20 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..fa4cafa --- /dev/null +++ b/.github/workflows/rust.yml @@ -0,0 +1,20 @@ +name: Rust + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + runs-on: windows-latest + steps: + - uses: actions/checkout@v4 + - name: Build winbar + run: cd winbar && cargo build --verbose + - name: Build winbarc + run: cd winbarc && cargo build --verbose