Skip to content

Commit

Permalink
Fix tests on GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
helgoboss committed Feb 8, 2024
1 parent da2a45a commit d0e500f
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/linux-aarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ jobs:
override: true
- name: cargo test (for generating dialogs with php)
uses: actions-rs/cargo@v1
env:
RUST_MIN_STACK: 5242880
with:
command: test
- name: cargo build
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/linux-armv7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ jobs:
override: true
- name: cargo test (for generating dialogs with php)
uses: actions-rs/cargo@v1
env:
RUST_MIN_STACK: 5242880
with:
command: test
- name: cargo build
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/linux-x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ jobs:
command: build
- name: cargo test
uses: actions-rs/cargo@v1
env:
RUST_MIN_STACK: 5242880
with:
command: test
args: -- --nocapture
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/macos-x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ jobs:
# uses: mxschmitt/action-tmate@v2
- name: cargo test
uses: actions-rs/cargo@v1
env:
RUST_MIN_STACK: 5242880
with:
command: test
args: --features playtime,egui -- --nocapture
2 changes: 2 additions & 0 deletions .github/workflows/windows-x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ jobs:
args: --features playtime,egui
- name: cargo test
uses: actions-rs/cargo@v1
env:
RUST_MIN_STACK: 5242880
with:
command: test
args: --features playtime,egui -- --nocapture
2 changes: 1 addition & 1 deletion CONTRIBUTING.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Luau language bindings are generated from Rust code by executing tests:

[source,shell]
----
RUST_MIN_STACK=104857600 cargo test --package realearn-api --lib bindings::luau::export_luau
RUST_MIN_STACK=5242880 cargo test --package realearn-api --lib bindings::luau::export_luau
----

Artwork such as toolbar icons is generated by running a crate:
Expand Down

0 comments on commit d0e500f

Please sign in to comment.