Debug Build #151
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Debug Build | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
RUST_LOG: info | |
RUST_MIN_STACK: '3145728' | |
steps: | |
- name: Install Protoc | |
uses: arduino/setup-protoc@v1 | |
- uses: dtolnay/rust-toolchain@stable | |
- uses: styfle/[email protected] | |
name: Cancel Outdated Builds | |
with: | |
all_but_latest: true | |
access_token: ${{ github.token }} | |
- uses: actions/checkout@v3 | |
name: Checkout Repository | |
- name: Configure Git | |
run: | | |
git config --global url."https://ancient123:${{ secrets.ORG_GITHUB_PAT }}@github.com".insteadOf git://github.com | |
git config --global url."https://ancient123:${{ secrets.ORG_GITHUB_PAT }}@github.com".insteadOf ssh://[email protected] | |
- uses: Swatinem/rust-cache@v1 | |
name: Enable Rust Caching | |
- name: Build | |
run: | | |
cargo build --workspace --all-features | |
- name: Test | |
run: | | |
cargo test --workspace --all-features --no-run | |
cargo test --workspace --all-features --verbose -- --test-threads 2 | |
timeout-minutes: 60 |