Skip to content

Commit

Permalink
ci: add a GHA to build with latest nightly rust (#11637)
Browse files Browse the repository at this point in the history
  • Loading branch information
xxchan authored Aug 14, 2023
1 parent 4ba4d51 commit 8964983
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/nightly-rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Build with Latest Nightly Rust

# Helpful to know when it does not compile.

on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Rust toolchain
run: |
rustup override set nightly
rustup update nightly
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y make build-essential cmake protobuf-compiler curl openssl libssl-dev libsasl2-dev libcurl4-openssl-dev pkg-config postgresql-client tmux lld
- name: cargo build
run: |
cargo build

0 comments on commit 8964983

Please sign in to comment.