Compare commits
2 Commits
4f18bc36d9
...
1d2a8bcf96
Author | SHA1 | Date |
---|---|---|
|
1d2a8bcf96 | |
|
4d193c53ce |
|
@ -274,6 +274,7 @@ jobs:
|
|||
if: matrix.opts.platform == 'web'
|
||||
run: |
|
||||
emcc -v
|
||||
llvm-objcopy --help
|
||||
|
||||
- name: Set up scons
|
||||
if: matrix.opts.platform != 'linux'
|
||||
|
@ -360,9 +361,9 @@ jobs:
|
|||
if: inputs.debug-symbols && matrix.opts.platform == 'web'
|
||||
shell: bash
|
||||
run: |
|
||||
ls -R emsdk-cache/
|
||||
echo "---"
|
||||
echo ${PATH}
|
||||
emstrip --only-keep-debug -o ${{matrix.opts.bin}}.debug ${{matrix.opts.bin}}
|
||||
emstrip --strip-debug ${{matrix.opts.bin}}
|
||||
llvm-objcopy --add-gnu-debuglink ${{matrix.opts.bin}}.debug ${{matrix.opts.bin}}
|
||||
|
||||
- name: Split debug symbols (Android)
|
||||
if: inputs.debug-symbols && matrix.opts.platform == 'android'
|
||||
|
@ -379,18 +380,30 @@ jobs:
|
|||
cp {README,LICENSE,LOGO_LICENSE}.md out/addons/limboai/
|
||||
cp -R demo/demo/ out/demo/
|
||||
cp demo/LICENSE_ASSETS.md out/demo/
|
||||
rm -f out/addons/limboai/bin/*.{exp,lib,pdb}
|
||||
rm -f out/addons/limboai/bin/*.{exp,lib}
|
||||
echo "${LIMBOAI_VERSION}" > out/addons/limboai/version.txt
|
||||
echo "---"
|
||||
ls -R out/
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
env:
|
||||
NAME: tmp-gdextension.${{matrix.opts.platform}}.${{matrix.opts.target}}.${{matrix.opts.arch}}
|
||||
with:
|
||||
name: ${{ env.NAME }}
|
||||
path: out/*
|
||||
name: tmp-gdextension.${{matrix.opts.platform}}.${{matrix.opts.target}}.${{matrix.opts.arch}}
|
||||
path: |
|
||||
out/*
|
||||
!out/**/*.debug
|
||||
!out/**/*.pdb
|
||||
!out/**/*.dSYM
|
||||
|
||||
- name: Upload debug symbols
|
||||
if: inputs.debug-symbols
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: tmp-gdextension-symbols.${{matrix.opts.platform}}.${{matrix.opts.target}}.${{matrix.opts.arch}}
|
||||
path: |
|
||||
out/**/*.debug
|
||||
out/**/*.pdb
|
||||
out/**/*.dSYM
|
||||
|
||||
package-extension:
|
||||
name: 📦 Package extension
|
||||
|
@ -405,6 +418,14 @@ jobs:
|
|||
pattern: tmp-gdextension.*
|
||||
delete-merged: true
|
||||
|
||||
- name: Merge debug symbols artifacts
|
||||
if: inputs.debug-symbols
|
||||
uses: actions/upload-artifact/merge@v4
|
||||
with:
|
||||
name: ${{needs.gdextension.outputs.name-prefix}}.debug-symbols
|
||||
pattern: tmp-gdextension-symbols.*
|
||||
delete-merged: true
|
||||
|
||||
- name: Download artifact
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
|
|
Loading…
Reference in New Issue