Skip to content

Commit

Permalink
Add nightly workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jameshiew committed Dec 11, 2024
1 parent b0c3c2f commit 5444b86
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: nightly

on:
schedule:
- cron: "43 15 * * *"
workflow_dispatch:

env:
CARGO_TERM_COLOR: always
CARGO_TERM_VERBOSE: true

jobs:
test:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly
- name: Install system packages needed by Bevy
run: |
sudo apt-get install -y g++ pkg-config libx11-dev libasound2-dev libudev-dev libxkbcommon-x11-0 libwayland-dev libxkbcommon-dev
- uses: taiki-e/install-action@cargo-hack
- run: cargo hack test --all-targets --feature-powerset
update:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Install system packages needed by Bevy
run: |
sudo apt-get install -y g++ pkg-config libx11-dev libasound2-dev libudev-dev libxkbcommon-x11-0 libwayland-dev libxkbcommon-dev
- uses: taiki-e/install-action@cargo-hack
- run: cargo update
- run: cargo hack test --all-targets --feature-powerset

0 comments on commit 5444b86

Please sign in to comment.