Skip to content

Commit 1ab0006

Browse files
committed
Merge remote-tracking branch 'origin/main' into pch/wit-bindgen-rust-2024-compat
2 parents 034da34 + 07dfa1d commit 1ab0006

Some content is hidden

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

47 files changed

+923
-4174
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,11 @@ jobs:
5959
matrix:
6060
os: [ubuntu-latest, macos-latest, windows-latest]
6161
# moonbit removed from language matrix for now - causing CI failures
62-
lang: [c, rust, teavm-java, go, csharp]
62+
lang: [c, rust, go, csharp]
63+
exclude:
64+
# For now csharp doesn't work on macos, so exclude it from testing.
65+
- os: macos-latest
66+
lang: csharp
6367
runs-on: ${{ matrix.os }}
6468
steps:
6569
- uses: actions/checkout@v4
@@ -73,7 +77,7 @@ jobs:
7377
if: matrix.lang == 'rust'
7478

7579
- uses: ./.github/actions/install-wasi-sdk
76-
if: matrix.lang == 'c' || (matrix.lang == 'csharp' && matrix.os == 'windows-latest')
80+
if: matrix.lang == 'c' || matrix.lang == 'csharp'
7781

7882
- name: Setup .NET
7983
uses: actions/setup-dotnet@v4
@@ -95,14 +99,6 @@ jobs:
9599
shell: powershell
96100
if: matrix.os == 'windows-latest' && matrix.lang == 'moonbit'
97101
98-
- run: ci/download-teavm.sh
99-
if: matrix.lang == 'teavm-java'
100-
- uses: actions/setup-java@v4
101-
if: matrix.lang == 'teavm-java'
102-
with:
103-
java-version: '18'
104-
distribution: 'adopt'
105-
106102
- uses: actions/setup-go@v4
107103
if: matrix.lang == 'go'
108104
with:
@@ -117,7 +113,8 @@ jobs:
117113
-p wit-bindgen-cli \
118114
-p wit-bindgen-${{ matrix.lang }} \
119115
--no-default-features \
120-
--features ${{ matrix.lang }}
116+
--features ${{ matrix.lang }} \
117+
--release
121118
122119
test_unit:
123120
name: Crate Unit Tests
@@ -156,7 +153,6 @@ jobs:
156153
- run: cargo build --no-default-features
157154
- run: cargo build --no-default-features --features rust
158155
- run: cargo build --no-default-features --features c
159-
- run: cargo build --no-default-features --features teavm-java
160156
- run: cargo build --no-default-features --features go
161157
- run: cargo build --no-default-features --features csharp
162158
- run: cargo build --no-default-features --features markdown

0 commit comments

Comments
 (0)