diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml new file mode 100644 index 0000000..61490de --- /dev/null +++ b/.github/workflows/nightly.yml @@ -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