From 3efb3f779d9bf8225b1fabfbe1a99b773249dd2e Mon Sep 17 00:00:00 2001 From: Juuz <6596629+Juuxel@users.noreply.github.com> Date: Fri, 19 Jul 2024 16:16:22 +0300 Subject: [PATCH] Update GH workflows to also build for native target --- .github/workflows/build_native.yml | 11 +++++++++++ .github/workflows/{build.yml => build_web.yml} | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/build_native.yml rename .github/workflows/{build.yml => build_web.yml} (98%) diff --git a/.github/workflows/build_native.yml b/.github/workflows/build_native.yml new file mode 100644 index 0000000..d9ddee7 --- /dev/null +++ b/.github/workflows/build_native.yml @@ -0,0 +1,11 @@ +name: Build native +on: [push, pull_request] +jobs: + build: + runs-on: [ubuntu-latest, windows-latest] + steps: + - uses: actions/checkout@v4 + - name: Build + run: cargo build --verbose + - name: Test + run: cargo test --verbose diff --git a/.github/workflows/build.yml b/.github/workflows/build_web.yml similarity index 98% rename from .github/workflows/build.yml rename to .github/workflows/build_web.yml index 31f3401..ee537e1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build_web.yml @@ -1,4 +1,4 @@ -name: Build +name: Build web on: [push, pull_request] permissions: contents: write