make macos name not only lowercase

try a linux appimage build
This commit is contained in:
supermerill 2020-06-02 17:45:24 +02:00
parent 851264f150
commit f8c41fe6e7
3 changed files with 16 additions and 8 deletions

View File

@ -58,11 +58,11 @@ jobs:
echo -n -e 'APPL????\x0a' > PkgInfo echo -n -e 'APPL????\x0a' > PkgInfo
cp PkgInfo SuperSlicer/SuperSlicer.app/Contents/PkgInfo cp PkgInfo SuperSlicer/SuperSlicer.app/Contents/PkgInfo
# echo -n -e '\xff\xfeAPPL\x3f\x00\x3f\x00\x3f\x00\x3f\x00\x0a\x00' > PkgInfo # echo -n -e '\xff\xfeAPPL\x3f\x00\x3f\x00\x3f\x00\x3f\x00\x0a\x00' > PkgInfo
- name: copy bin - name: copy bin and do not let it lower case
working-directory: ./build working-directory: ./build
run: | run: |
cp -f src/superslicer SuperSlicer/SuperSlicer.app/Contents/MacOS/superslicer cp -f src/superslicer SuperSlicer/SuperSlicer.app/Contents/MacOS/SuperSlicer
chmod u+x SuperSlicer/SuperSlicer.app/Contents/MacOS/superslicer chmod u+x SuperSlicer/SuperSlicer.app/Contents/MacOS/SuperSlicer
tar -cvf SuperSlicer.tar SuperSlicer tar -cvf SuperSlicer.tar SuperSlicer
- name: create dmg - name: create dmg
working-directory: ./build working-directory: ./build
@ -90,11 +90,11 @@ jobs:
- name: make slic3r - name: make slic3r
working-directory: ./build working-directory: ./build
run: make slic3r run: make slic3r
- name: copy bin - name: copy bin and do not let it lower case
working-directory: ./build working-directory: ./build
run: | run: |
cp -f src/superslicer SuperSlicer/SuperSlicer.app/Contents/MacOS/superslicer cp -f src/superslicer SuperSlicer/SuperSlicer.app/Contents/MacOS/SuperSlicer
chmod u+x SuperSlicer/SuperSlicer.app/Contents/MacOS/superslicer chmod u+x SuperSlicer/SuperSlicer.app/Contents/MacOS/SuperSlicer
tar -cvf SuperSlicer.tar SuperSlicer tar -cvf SuperSlicer.tar SuperSlicer
- name: create dmg - name: create dmg
working-directory: ./build working-directory: ./build

View File

@ -61,8 +61,8 @@ jobs:
- name: copy bin - name: copy bin
working-directory: ./build working-directory: ./build
run: | run: |
cp -f src/superslicer SuperSlicer/SuperSlicer.app/Contents/MacOS/superslicer cp -f src/superslicer SuperSlicer/SuperSlicer.app/Contents/MacOS/SuperSlicer
chmod u+x SuperSlicer/SuperSlicer.app/Contents/MacOS/superslicer chmod u+x SuperSlicer/SuperSlicer.app/Contents/MacOS/SuperSlicer
tar -zcvf SuperSlicer.tar.gz SuperSlicer tar -zcvf SuperSlicer.tar.gz SuperSlicer
- name: create dmg - name: create dmg
working-directory: ./build working-directory: ./build

View File

@ -63,3 +63,11 @@ jobs:
with: with:
name: nightly_linux.tar name: nightly_linux.tar
path: build/SuperSlicer.tar path: build/SuperSlicer.tar
- name: build appimage
working-directory: ./build/package
run: |
chmod +x ../../src/platform/unix/build_appimage.sh "/home/runner/work/SuperSlicer/SuperSlicer"
"../../src/platform/unix/build_appimage.sh SuperSlicer_${{ github.event.release.tag_name }}_ubu64_${{steps.date.outputs.date}}.AppImage"