diff --git a/.github/workflows/rust-linux.yml b/.github/workflows/rust-linux.yml new file mode 100644 index 0000000..0c363a0 --- /dev/null +++ b/.github/workflows/rust-linux.yml @@ -0,0 +1,21 @@ +name: Rust-linux + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Build + run: cargo build --verbose + - name: Run tests + run: cargo test --verbose diff --git a/.github/workflows/rust-macos.yml b/.github/workflows/rust-macos.yml new file mode 100644 index 0000000..645b65e --- /dev/null +++ b/.github/workflows/rust-macos.yml @@ -0,0 +1,21 @@ +name: Rust-macos + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + runs-on: macos-latest + + steps: + - uses: actions/checkout@v3 + - name: Build + run: cargo build --verbose + - name: Run tests + run: cargo test --verbose diff --git a/.github/workflows/rust-windows.yml b/.github/workflows/rust-windows.yml new file mode 100644 index 0000000..a8deab9 --- /dev/null +++ b/.github/workflows/rust-windows.yml @@ -0,0 +1,21 @@ +name: Rust-windows + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + runs-on: windows-latest + + steps: + - uses: actions/checkout@v3 + - name: Build + run: cargo build --verbose + - name: Run tests + run: cargo test --verbose