Skip to content

Commit 1614930

Browse files
authored
fix(ci): add weval artifacts to the release (#304)
1 parent 11ac8a5 commit 1614930

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
SM_TAG: ${{ steps.check-sm-release.outputs.SM_TAG }}
3232
SM_CACHE_KEY_debug: ${{ steps.check-sm-release.outputs.SM_CACHE_KEY_debug }}
3333
SM_CACHE_KEY_release: ${{ steps.check-sm-release.outputs.SM_CACHE_KEY_release }}
34+
SM_CACHE_KEY_weval: ${{ steps.check-sm-release.outputs.SM_CACHE_KEY_weval }}
3435
runs-on: ${{ matrix.os }}
3536
steps:
3637
- uses: actions/checkout@v2
@@ -144,12 +145,21 @@ jobs:
144145
spidermonkey-dist-release
145146
key: ${{ needs.test.outputs.SM_CACHE_KEY_release }}
146147
fail-on-cache-miss: true
148+
- name: Restore SpiderMonkey Weval Cache
149+
uses: actions/cache/restore@v4
150+
id: sm-cache-weval
151+
with:
152+
path: |
153+
spidermonkey-dist-weval
154+
key: ${{ needs.test.outputs.SM_CACHE_KEY_weval }}
155+
fail-on-cache-miss: true
147156

148157
- name: Create SpiderMonkey Tar Balls
149158
run: |
150159
mkdir -p release-artifacts
151160
tar -a -cf release-artifacts/spidermonkey-static-debug.tar.gz spidermonkey-dist-debug/*
152161
tar -a -cf release-artifacts/spidermonkey-static-release.tar.gz spidermonkey-dist-release/*
162+
tar -a -cf release-artifacts/spidermonkey-static-release_weval.tar.gz spidermonkey-dist-weval/*
153163
tree release-artifacts
154164
155165
- name: Do the Release

.github/workflows/release-please.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ jobs:
5454
run: |
5555
just mode=release builddir=build-release build starling
5656
just mode=relwithdebinfo builddir=build-debug build starling
57+
just mode=weval builddir=build-weval build starling-ics.wevalcache
5758
5859
- name: Prepare Artifacts
5960
run: |
@@ -62,13 +63,15 @@ jobs:
6263
# Core-module versions of the runtime
6364
cp build-release/starling-raw.wasm release-artifacts/starling-raw.wasm
6465
cp build-debug/starling-raw.wasm release-artifacts/starling-raw-debug.wasm
66+
cp build-weval/starling-raw.wasm release-artifacts/starling-raw-weval.wasm
6567
6668
# Component-versions of the runtime
6769
cp build-release/starling.wasm release-artifacts/starling.wasm
6870
cp build-debug/starling.wasm release-artifacts/starling-debug.wasm
6971
7072
# Supporting artifacts
7173
cp build-release/preview1-adapter.wasm release-artifacts
74+
cp build-weval/starling-ics.wevalcache release-artifacts
7275
7376
echo "Release artifacts:"
7477
ls -la release-artifacts/

0 commit comments

Comments
 (0)