Skip to content

Commit ceff82f

Browse files
authored
Merge pull request #8 from golemcloud/update
Updated to moonc 0.6.32 and latest moonc_wasm upstream
2 parents d9ab1f0 + 72b3e47 commit ceff82f

File tree

790 files changed

+65114
-32217
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

790 files changed

+65114
-32217
lines changed

.cargo/config.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# 64 bit MSVC
2+
[target.x86_64-pc-windows-msvc]
3+
rustflags = [
4+
"-C", "link-arg=/STACK:8000000"
5+
]
6+
7+
# 64 bit Mingw
8+
[target.x86_64-pc-windows-gnu]
9+
rustflags = [
10+
"-C", "link-arg=-Wl,--stack,8000000"
11+
]

.github/workflows/ci.yaml

Lines changed: 5 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,6 @@ jobs:
3131
with:
3232
toolchain: stable
3333
override: true
34-
- name: Install moonbit
35-
run: |
36-
curl -fsSL https://cli.moonbitlang.com/install/unix.sh | bash -s -- 0.6.19
37-
echo "$HOME/.moon/bin" >> $GITHUB_PATH
38-
- name: Bundle core MoonBit library
39-
run: moon bundle --target wasm
40-
working-directory: core
4134
- name: Check formatting
4235
run: cargo fmt -- --check
4336
- name: Clippy
@@ -46,7 +39,10 @@ jobs:
4639
run: cargo build --all-features --all-targets
4740
test:
4841
needs: [build]
49-
runs-on: ubuntu-latest
42+
strategy:
43+
matrix:
44+
os: [ubuntu-latest, macos-latest, windows-latest]
45+
runs-on: ${{ matrix.os }}
5046
steps:
5147
- uses: actions/checkout@v4
5248
with:
@@ -64,22 +60,8 @@ jobs:
6460
- uses: cargo-bins/cargo-binstall@main
6561
- name: Install wasmtime-cli
6662
run: cargo binstall --force --locked [email protected]
67-
- name: Install moonbit
68-
run: |
69-
curl -fsSL https://cli.moonbitlang.com/install/unix.sh | bash -s -- 0.6.19
70-
echo "$HOME/.moon/bin" >> $GITHUB_PATH
71-
- name: Bundle core MoonBit library
72-
run: moon bundle --target wasm
73-
working-directory: core
7463
- name: Tests
75-
run: cargo test -p moonbit-component-generator -- --nocapture --report-time --format junit --logfile target/report.xml --test-threads=1
76-
- name: Publish Test Report
77-
uses: mikepenz/action-junit-report@v5
78-
if: success() || failure() # always run even if the previous step fails
79-
with:
80-
report_paths: "**/target/report-*.xml"
81-
detailed_summary: true
82-
include_passed: true
64+
run: cargo test -p moonbit-component-generator -- --nocapture --report-time --test-threads=1
8365
publish:
8466
needs: [test]
8567
if: "startsWith(github.ref, 'refs/tags/v')"
@@ -94,13 +76,6 @@ jobs:
9476
with:
9577
toolchain: stable
9678
override: true
97-
- name: Install moonbit
98-
run: |
99-
curl -fsSL https://cli.moonbitlang.com/install/unix.sh | bash -s -- 0.6.19
100-
echo "$HOME/.moon/bin" >> $GITHUB_PATH
101-
- name: Bundle core MoonBit library
102-
run: moon bundle --target wasm
103-
working-directory: core
10479
- id: get_version
10580
uses: battila7/get-version-action@v2
10681
- name: Publish crates

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
/target
22
*.iml
33
.idea
4+
core

0 commit comments

Comments
 (0)