-
Notifications
You must be signed in to change notification settings - Fork 5
46 lines (43 loc) · 1.3 KB
/
nigthtly-stable.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
36
37
38
39
40
41
42
43
44
45
46
on:
schedule:
# runs every day at 1:45 UTC
- cron: "45 01 * * *"
workflow_dispatch:
pull_request:
branches:
- '*' # must quote since "*" is a YAML reserved character; we want a string
name: Stable Build and Test Nightly
jobs:
update_build_and_test:
runs-on: ubuntu-latest
steps:
- name: Checkout tiledb-rs
uses: actions/checkout@v4
- name: Install Rust Stable
uses: dtolnay/rust-toolchain@stable
- name: Install TileDB
uses: ./.github/actions/install-tiledb
- name: Check Formatting
run: cargo fmt --quiet --check
- name: Update Dependencies
run: cargo update --recursive
- name: Lint
run: cargo clippy --all-targets --all-features -- -Dwarnings
- name: Build
run: cargo build --all-targets --all-features
- name: Test
run: cargo test --all-targets --all-features
create_issue_on_fail:
permissions:
issues: write
runs-on: ubuntu-latest
needs: update_build_and_test
if: failure() || cancelled()
steps:
- uses: actions/checkout@v3
- name: Create Issue on Failure
uses: TileDB-Inc/github-actions/open-issue@main
with:
name: Nightly Build Failure
label: nightly-failure
assignee: davisp,rroelke