1
0
Mirror von https://github.com/Chaoscaot/schemsearch synchronisiert 2024-11-08 05:10:09 +01:00
schemsearch/.github/workflows/master-build.yml

36 Zeilen
671 B
YAML

2023-03-16 19:15:46 +01:00
name: Master Build
on:
push:
branches: [ "master" ]
2023-03-16 19:22:57 +01:00
pull_request:
branches: [ "master" ]
2023-03-16 19:15:46 +01:00
env:
CARGO_TERM_COLOR: always
jobs:
2023-03-16 19:22:57 +01:00
build:
2023-03-16 19:32:09 +01:00
2023-03-16 19:22:57 +01:00
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
2023-03-16 19:32:09 +01:00
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
2023-03-16 19:23:08 +01:00
build-realease:
2023-03-16 19:32:09 +01:00
2023-03-16 19:23:08 +01:00
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose --release
- name: Upload a Build Artifact
uses: actions/upload-artifact@v3.1.2
with:
name: schemsearch-cli
path: target/release/schemsearch-cli