-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (31 loc) · 905 Bytes
/
nightly.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# The following Actions/Workflow is to test tosho with latest nightly Rust compiler.
# This is to ensure that tosho is always compatible with the latest Rust compiler.
name: Nightly Check
on:
# Run every 3 days at 00:00 UTC
schedule:
- cron: '0 0 */3 * *'
# Manual trigger
workflow_dispatch:
env:
RUST_BACKTRACE: full
CARGO_TERM_COLOR: always
PKG_CONFIG_SYSROOT_DIR: /
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-24.04
steps:
- name: Checkout repo
uses: actions/checkout@9a9194f87191a7e9055e3e9b95b8cfb13023bb08
with:
submodules: 'true'
- name: Rustup nightly
run: |
rustup update nightly
- name: Test and Build
run: |
cargo +nightly test --verbose --all
cargo +nightly build --release --verbose --all