From 89649834e5235c9a9e16adac0a0c6c010caca249 Mon Sep 17 00:00:00 2001 From: xxchan Date: Mon, 14 Aug 2023 09:33:39 +0200 Subject: [PATCH] ci: add a GHA to build with latest nightly rust (#11637) --- .github/workflows/nightly-rust.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/nightly-rust.yml diff --git a/.github/workflows/nightly-rust.yml b/.github/workflows/nightly-rust.yml new file mode 100644 index 0000000000000..ab3cc0302cce9 --- /dev/null +++ b/.github/workflows/nightly-rust.yml @@ -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