mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-16 05:01:48 +08:00
fix release script, trying a debug on mac.
This commit is contained in:
parent
3bb0b228bc
commit
572910eaf8
29
.github/workflows/ccpp_mac.yml
vendored
29
.github/workflows/ccpp_mac.yml
vendored
@ -81,3 +81,32 @@ jobs:
|
||||
with:
|
||||
name: nightly_macos.dmg
|
||||
path: build/Slic3r++.dmg
|
||||
# build again, but the debug one this time
|
||||
- name: cmake
|
||||
working-directory: ./build
|
||||
run: cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH="$PWD/../deps/build/destdir/usr/local" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.13" -DSLIC3R_STATIC=1
|
||||
- name: make slic3r
|
||||
working-directory: ./build
|
||||
run: make slic3r
|
||||
- name: copy bin
|
||||
working-directory: ./build
|
||||
run: |
|
||||
cp -f src/slic3r++ Slic3r++/Slic3r++.app/Contents/MacOS/slic3r++
|
||||
chmod u+x Slic3r++/Slic3r++.app/Contents/MacOS/slic3r++
|
||||
tar -cvf slic3r++.tar Slic3r++
|
||||
- name: create dmg
|
||||
working-directory: ./build
|
||||
run: |
|
||||
hdiutil create -ov -fs HFS+ -volname "Slic3r++" -srcfolder "Slic3r++" temp.dmg
|
||||
hdiutil convert temp.dmg -format UDZO -o Slic3r++.dmg
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v1.0.0
|
||||
with:
|
||||
name: nightly_macos_DEBUG.dmg
|
||||
path: build/Slic3r++.dmg
|
||||
# just to see what's inside. to remove
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v1.0.0
|
||||
with:
|
||||
name: build_folder
|
||||
path: build
|
||||
|
3
.github/workflows/ccpp_mac_release.yml
vendored
3
.github/workflows/ccpp_mac_release.yml
vendored
@ -2,8 +2,7 @@ name: C/C++ CI macos
|
||||
|
||||
on:
|
||||
release:
|
||||
types:
|
||||
- created
|
||||
types: [published]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
3
.github/workflows/ccpp_ubuntu_release.yml
vendored
3
.github/workflows/ccpp_ubuntu_release.yml
vendored
@ -2,8 +2,7 @@ name: C/C++ CI ubuntu
|
||||
|
||||
on:
|
||||
release:
|
||||
types:
|
||||
- created
|
||||
types: [published]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
Loading…
x
Reference in New Issue
Block a user