ci: 👷 auto release

This commit is contained in:
Ahmet Kaan GÜMÜŞ 2024-07-08 02:30:54 +03:00
parent 17977d4ee2
commit ff4cf381fa
3 changed files with 166 additions and 0 deletions

44
.github/workflows/pr_main.yml vendored Normal file
View file

@ -0,0 +1,44 @@
name: Rust Main Branch Pull Request -> Build & Test
on:
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build_linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --release --verbose
- name: Run tests
run: cargo test --verbose
build_windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --release --verbose
- name: Run tests
run: cargo test --verbose
build_macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --release --verbose
- name: Run tests
run: cargo test --verbose