forked from rscarson/rustyscript
-
Notifications
You must be signed in to change notification settings - Fork 0
91 lines (63 loc) · 2.45 KB
/
examples.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
#### ####
# In this workflow we run all the examples #
# This should always be up-to-date with the examples #
#### ####
name: Examples
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: worker_pool
run: cargo run --example worker_pool --features "worker"
- name: web_features
run: cargo run --example web_features --features "web"
- name: url_imports
run: cargo run --example url_import --features="fs_import url_import"
- name: typescript_modules
run: cargo run --example typescript_modules
- name: thread_safety
run: cargo run --example thread_safety
- name: serialized_types
run: cargo run --example serialized_types
- name: runtime_extensions
run: cargo run --example runtime_extensions
- name: multiple_modules
run: cargo run --example multiple_modules
- name: module_loader_cache
run: cargo run --example module_loader_cache
- name: module_import
run: cargo run --example module_import
- name: interactive_prompt
run: cargo run --example interactive_prompt -- 5+5
- name: hello_world
run: cargo run --example hello_world
- name: functions_and_values
run: cargo run --example functions_and_values
- name: entrypoint_functions
run: cargo run --example entrypoint_functions
- name: default_threaded_worker
run: cargo run --example default_threaded_worker --features "worker"
- name: custom_threaded_worker
run: cargo run --example custom_threaded_worker --features "worker"
- name: custom_runtimes
run: cargo run --example custom_runtimes
- name: custom_import_logic
run: cargo run --example custom_import_logic --features "url_import"
- name: create_snapshot
run: cargo run --example create_snapshot --features "snapshot_builder"
- name: call_rust_from_js
run: cargo run --example call_rust_from_js
- name: async_javascript
run: cargo run --example async_javascript
- name: async_eval
run: cargo run --example async_eval
- name: websocket
run: cargo run --example websocket --features="web websocket"