Skip to content

Commit be91a41

Browse files
committed
remove streams from CI
Signed-off-by: sagudev <[email protected]>
1 parent 75100a5 commit be91a41

File tree

2 files changed

+17
-18
lines changed

2 files changed

+17
-18
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
strategy:
2020
fail-fast: false
2121
matrix:
22-
features: ["debugmozjs", "streams"]
22+
features: ["debugmozjs", '""']
2323
platform:
2424
- { target: aarch64-apple-darwin, os: macos-14 }
2525
- { target: x86_64-apple-darwin, os: macos-13 }
@@ -45,12 +45,12 @@ jobs:
4545
4646
- name: Generate artifact attestation
4747
uses: actions/attest-build-provenance@v1
48-
if: ${{ inputs.release && contains(matrix.features, 'streams') }}
48+
if: ${{ inputs.release && matrix.features != 'debugmozjs' }}
4949
with:
5050
subject-path: ./target/libmozjs-${{ matrix.platform.target }}.tar.gz
5151

5252
- name: Upload artifact
53-
if: ${{ contains(matrix.features, 'streams') }}
53+
if: ${{ matrix.features != 'debugmozjs' }}
5454
uses: actions/upload-artifact@v4
5555
with:
5656
path: ./target/libmozjs-${{ matrix.platform.target }}.tar.gz
@@ -65,7 +65,7 @@ jobs:
6565
strategy:
6666
fail-fast: false
6767
matrix:
68-
features: ["debugmozjs", "streams"]
68+
features: ["debugmozjs", '""']
6969
steps:
7070
- uses: actions/checkout@v4
7171
- uses: dtolnay/rust-toolchain@stable
@@ -80,19 +80,19 @@ jobs:
8080
cargo test --tests --examples --verbose --features ${{ matrix.features }}
8181
- name: Check wrappers integrity
8282
# we generate wrappers only without debugmozjs
83-
if: ${{ matrix.features == 'streams' }}
83+
if: ${{ matrix.features != 'debugmozjs' }}
8484
run: |
8585
bash ./mozjs/src/generate_wrappers.sh
8686
git diff --quiet --exit-code
8787
8888
- name: Generate artifact attestation
8989
uses: actions/attest-build-provenance@v1
90-
if: ${{ inputs.release && contains(matrix.features, 'streams') }}
90+
if: ${{ inputs.release && matrix.features != 'debugmozjs' }}
9191
with:
9292
subject-path: ./target/libmozjs-x86_64-unknown-linux-gnu.tar.gz
9393

9494
- name: Upload artifact
95-
if: ${{ contains(matrix.features, 'streams') }}
95+
if: ${{ matrix.features != 'debugmozjs' }}
9696
uses: actions/upload-artifact@v4
9797
with:
9898
path: ./target/libmozjs-x86_64-unknown-linux-gnu.tar.gz
@@ -103,7 +103,7 @@ jobs:
103103
strategy:
104104
fail-fast: false
105105
matrix:
106-
features: ["debugmozjs", "streams"]
106+
features: ["debugmozjs", '""']
107107
target: ["x86_64-pc-windows-msvc", "aarch64-pc-windows-msvc"]
108108
env:
109109
LINKER: "lld-link.exe"
@@ -135,12 +135,12 @@ jobs:
135135
136136
- name: Generate artifact attestation
137137
uses: actions/attest-build-provenance@v1
138-
if: ${{ inputs.release && !contains(matrix.target, 'aarch64') && contains(matrix.features, 'streams') }}
138+
if: ${{ inputs.release && !contains(matrix.target, 'aarch64') && matrix.features != 'debugmozjs' }}
139139
with:
140140
subject-path: ./target/${{ matrix.target }}/libmozjs-x86_64-pc-windows-msvc.tar.gz
141141

142142
- name: Upload artifact
143-
if: ${{ !contains(matrix.target, 'aarch64') && contains(matrix.features, 'streams') }}
143+
if: ${{ !contains(matrix.target, 'aarch64') && matrix.features != 'debugmozjs' }}
144144
uses: actions/upload-artifact@v4
145145
with:
146146
path: ./target/${{ matrix.target }}/libmozjs-x86_64-pc-windows-msvc.tar.gz
@@ -186,7 +186,7 @@ jobs:
186186
env:
187187
OHOS_SDK_NATIVE: ${{ steps.setup_sdk.outputs.ohos_sdk_native }}
188188
run: |
189-
./ohos-build cargo build --target="${{ matrix.target }}" --features "streams"
189+
./ohos-build cargo build --target="${{ matrix.target }}"
190190
- name: Generate artifact attestation
191191
uses: actions/attest-build-provenance@v1
192192
if: ${{ inputs.release }}

.github/workflows/release-check.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
name: Version Release Check
32

43
on:
@@ -40,15 +39,15 @@ jobs:
4039
env:
4140
MOZJS_ARCHIVE: libmozjs-${{ matrix.platform.target }}.tar.gz
4241
run: |
43-
cargo build --verbose --features streams
44-
cargo test --tests --examples --verbose --features streams
42+
cargo build --verbose
43+
cargo test --tests --examples --verbose
4544
- name: Build from auto-download
4645
if: ${{ env.RELEASE_TAG != '' }}
4746
env:
4847
MOZJS_ATTESTATION: strict
4948
run: |
50-
cargo build --verbose --features streams
51-
cargo test --tests --examples --verbose --features streams
49+
cargo build --verbose
50+
cargo test --tests --examples --verbose
5251
5352
verify-archive-ohos:
5453
name: "Verify archive OpenHarmony"
@@ -80,11 +79,11 @@ jobs:
8079
OHOS_SDK_NATIVE: ${{ steps.setup_sdk.outputs.ohos_sdk_native }}
8180
MOZJS_ARCHIVE: libmozjs-${{ matrix.target }}.tar.gz
8281
run: |
83-
./ohos-build cargo build --target="${{ matrix.target }}" --verbose --features streams
82+
./ohos-build cargo build --target="${{ matrix.target }}" --verbose
8483
- name: Build from auto-download (arch ${{ matrix.target }})
8584
if: ${{ env.RELEASE_TAG != '' }}
8685
env:
8786
OHOS_SDK_NATIVE: ${{ steps.setup_sdk.outputs.ohos_sdk_native }}
8887
MOZJS_ATTESTATION: strict
8988
run: |
90-
./ohos-build cargo build --target="${{ matrix.target }}" --verbose --features "streams"
89+
./ohos-build cargo build --target="${{ matrix.target }}" --verbose

0 commit comments

Comments
 (0)