Skip to content

Commit

Permalink
make macos name not only lowercase
Browse files Browse the repository at this point in the history
try a linux appimage build
  • Loading branch information
supermerill committed Jun 2, 2020
1 parent 851264f commit f8c41fe
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ccpp_mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ jobs:
echo -n -e 'APPL????\x0a' > PkgInfo
cp PkgInfo SuperSlicer/SuperSlicer.app/Contents/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
run: |
cp -f src/superslicer SuperSlicer/SuperSlicer.app/Contents/MacOS/superslicer
chmod u+x 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
tar -cvf SuperSlicer.tar SuperSlicer
- name: create dmg
working-directory: ./build
Expand Down Expand Up @@ -90,11 +90,11 @@ jobs:
- name: make slic3r
working-directory: ./build
run: make slic3r
- name: copy bin
- name: copy bin and do not let it lower case
working-directory: ./build
run: |
cp -f src/superslicer SuperSlicer/SuperSlicer.app/Contents/MacOS/superslicer
chmod u+x 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
tar -cvf SuperSlicer.tar SuperSlicer
- name: create dmg
working-directory: ./build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ccpp_mac_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ jobs:
- name: copy bin
working-directory: ./build
run: |
cp -f src/superslicer SuperSlicer/SuperSlicer.app/Contents/MacOS/superslicer
chmod u+x 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
tar -zcvf SuperSlicer.tar.gz SuperSlicer
- name: create dmg
working-directory: ./build
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/ccpp_ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,11 @@ jobs:
with:
name: nightly_linux.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"

0 comments on commit f8c41fe

Please sign in to comment.