Skip to content

Commit

Permalink
try again
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdruppe committed Oct 22, 2024
1 parent e277ee1 commit 6f4debc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/actions/5a-emscripten/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ runs:
cd ..
# use bootstrap-ldc, which is guaranteed to be native
# add ;-fvisibility=hidden ?
bootstrap-ldc/bin/ldc-build-runtime --ninja \
--buildDir="build-libs-emscripten" \
--dFlags="-mtriple=wasm32-emscripten;-fvisibility=hidden" \
--targetSystem "WebAssembly" \
--dFlags="-mtriple=wasm32-unknown-emscripten;-fvisibility=hidden" \
--ldcSrcDir="$PWD/opend/ldc"
artifactName="opend-latest-xpack-emscripten"
tar -cJf artifacts/$artifactName.tar.xz --exclude-vcs --owner=0 --group=0 --transform="s,^../build-libs-emscripten,$artifactName," build-libs-emscripten/lib/*.a
tar -cJf $artifactName.tar.xz --exclude-vcs --owner=0 --group=0 --transform="s,^build-libs-emscripten,$artifactName," build-libs-emscripten/lib/*.a
5 changes: 4 additions & 1 deletion .github/actions/7-package/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ runs:
git clean -dffx
cd ..
artifactName="opend-latest-xpack-win64"
tar -cJf artifacts/$artifactName.tar.xz --exclude-vcs --owner=0 --group=0 --transform="s,^../installed,$artifactName," ../installed/lib ../installed/bin/*.dll
tar -cJf $artifactName.tar.xz --exclude-vcs --owner=0 --group=0 --transform="s,^installed,$artifactName," installed/lib installed/bin/*.dll
- name: Pack installation dir
shell: bash
Expand All @@ -75,6 +75,9 @@ runs:
artifactID="latest"
fi
mv opend-latest-xpack-emscripten.tar.xz artifacts || true
mv opend-latest-xpack-win64.tar.xz artifacts || true
os='${{ inputs.os }}'
if [[ "$os" == '' ]]; then
if [[ '${{ runner.os }}' == Linux ]]; then
Expand Down

0 comments on commit 6f4debc

Please sign in to comment.