Skip to content

Merge branch 'dev' of https://github.com/SkyUOI/Zenith into dev #176

Merge branch 'dev' of https://github.com/SkyUOI/Zenith into dev

Merge branch 'dev' of https://github.com/SkyUOI/Zenith into dev #176

Workflow file for this run

name: RustLinux
on:
push:
branches: ["main", "dev"]
pull_request:
branches: ["main", "dev"]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Config Env
run: rustup install nightly && rustup default nightly && rustup component add rustfmt
- name: Build
run: cd gdrust && cargo build --package proto --features protobuf_feature --all
- name: Build Release
run: cd gdrust && cargo build --package proto --features protobuf_feature --all --release
- name: Run tests Debug
run: cd gdrust && cargo test --package proto --features protobuf_feature --all
- name: Run tests Release
run: cd gdrust && cargo test --package proto --features protobuf_feature --all --release
- name: Check Fmt
run: cd gdrust && cargo fmt -- --check