From 7fdc629ae45cdec8ab097ef4ca63611c59204c28 Mon Sep 17 00:00:00 2001 From: Kim Gyumin <113892167+aeraerae@users.noreply.github.com> Date: Thu, 29 Aug 2024 03:00:58 +0900 Subject: [PATCH] Create rust.yml --- .github/workflows/rust.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 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..ed9446d --- /dev/null +++ b/.github/workflows/rust.yml @@ -0,0 +1,33 @@ +name: Rust + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build-windows: + + runs-on: windows-latest + + steps: + - uses: actions/checkout@v4 + - name: Build + run: cargo build --verbose + - name: Run tests + run: cargo test --verbose + + build-macos: + + runs-on: macos-latest + + steps: + - uses: actions/checkout@v4 + - name: Build + run: cargo build --verbose + - name: Run tests + run: cargo test --verbose