From f8c41fe6e751e61bfda61671d2bcfd17a43c20bc Mon Sep 17 00:00:00 2001 From: supermerill Date: Tue, 2 Jun 2020 17:45:24 +0200 Subject: [PATCH] make macos name not only lowercase try a linux appimage build --- .github/workflows/ccpp_mac.yml | 12 ++++++------ .github/workflows/ccpp_mac_release.yml | 4 ++-- .github/workflows/ccpp_ubuntu.yml | 8 ++++++++ 3 files changed, 16 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ccpp_mac.yml b/.github/workflows/ccpp_mac.yml index 75b803454..5bd6bae0d 100644 --- a/.github/workflows/ccpp_mac.yml +++ b/.github/workflows/ccpp_mac.yml @@ -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 @@ -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 diff --git a/.github/workflows/ccpp_mac_release.yml b/.github/workflows/ccpp_mac_release.yml index 02d88573c..a05147de1 100644 --- a/.github/workflows/ccpp_mac_release.yml +++ b/.github/workflows/ccpp_mac_release.yml @@ -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 diff --git a/.github/workflows/ccpp_ubuntu.yml b/.github/workflows/ccpp_ubuntu.yml index af6328c51..22303525a 100644 --- a/.github/workflows/ccpp_ubuntu.yml +++ b/.github/workflows/ccpp_ubuntu.yml @@ -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" + + + \ No newline at end of file