Skip to content

Commit

Permalink
update build script and fix scaffold docs build
Browse files Browse the repository at this point in the history
  • Loading branch information
eidloi committed Sep 14, 2024
1 parent b8d8c4d commit 39444cc
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 8 deletions.
29 changes: 21 additions & 8 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,25 @@ env:

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-build-stable-${{ hashFiles('**/Cargo.toml') }}
- name: Build Scaffold
run: cd crates/sickle_ui_scaffold/ && cargo build --verbose
- name: Build Sickle UI
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
1 change: 1 addition & 0 deletions crates/sickle_ui_scaffold/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ bevy = { version = "0.14", default-features = false, features = [
"bevy_text",
"bevy_ui",
"bevy_winit",
"x11",
] }
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0" }
Expand Down

0 comments on commit 39444cc

Please sign in to comment.