File tree Expand file tree Collapse file tree 3 files changed +14
-11
lines changed Expand file tree Collapse file tree 3 files changed +14
-11
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ name: Release Wasm
2
2
3
3
on : workflow_dispatch
4
4
5
+ permissions :
6
+ contents : write
7
+
5
8
jobs :
6
9
build :
7
10
runs-on : ubuntu-latest
15
18
wasm:
16
19
- 'JS/wasm/**'
17
20
# start of the build job
18
- - name : Build Javy Core
21
+ - name : Build Engine
19
22
working-directory : .
20
23
run : |
21
24
make add all
53
56
- name : Copy Javy bin
54
57
working-directory : .
55
58
run : |
56
- cp target/release/javy bin/
59
+ cp target/release/arakoo-compiler bin/
57
60
58
61
- name : Upload Release Binary
59
62
uses : actions/upload-artifact@v2
84
87
files : |
85
88
./Output/*
86
89
87
- tag_name : ${{ env.RELEASE_TAG }}
90
+ tag_name : ${{ env.RELEASE_TAG }}
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ anyhow = { workspace = true }
15
15
serde = { workspace = true }
16
16
serde_json = " 1"
17
17
tokio = { version = " 1.21.2" , features = [" full" ] }
18
- tracing = " 0.1.37"
18
+ tracing = { version = " 0.1.37" , features = [ " log " ] }
19
19
hyper = { version = " 0.14.26" , features = [" full" ] }
20
20
futures = " 0.3.24"
21
21
tracing-subscriber = { version = " ^0.3.18" , features = [" env-filter" , " fmt" ] }
Original file line number Diff line number Diff line change 1
1
.PHONY : all
2
- all : build-javy
2
+ all : build-cli
3
3
4
4
add :
5
5
@echo " Adding wasm32-wasi target"
@@ -18,21 +18,21 @@ build-arakoo:
18
18
@echo " Building arakoo"
19
19
@cargo build -p serve -r
20
20
21
- build-javy : build-cors
21
+ build-cli : build-engine
22
22
@echo " Building javy cli"
23
23
@CARGO_PROFILE_RELEASE_LTO=off cargo build -p cli -r
24
24
25
- build-cors : build-shims
26
- @echo " Building arakoo core "
27
- @cargo build -p arakoo-core --target=wasm32-wasi -r --features experimental_event_loop
25
+ build-engine : build-shims
26
+ @echo " Building arakoo engine "
27
+ @cargo build -p arakoo-js-engine --target=wasm32-wasi -r
28
28
29
29
build-shims : shims-install
30
30
@echo " Building shims"
31
- @cd JS/wasm/crates/apis /src/http/shims && npm run build
31
+ @cd JS/wasm/crates/arakoo-core /src/apis /http/shims && npm run build
32
32
33
33
shims-install :
34
34
@echo " Installing deps of shims"
35
- @cd JS/wasm/crates/apis /src/http/shims && npm install
35
+ @cd JS/wasm/crates/arakoo-core /src/apis /http/shims && npm install
36
36
37
37
compile : build-example
38
38
./target/release/javy compile JS/wasm/examples/ec-wasmjs-hono/bin/app.js
You can’t perform that action at this time.
0 commit comments