mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
55 lines
No EOL
1.8 KiB
YAML
55 lines
No EOL
1.8 KiB
YAML
name: Build Mac x64
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- SoftFever
|
|
|
|
jobs:
|
|
build_win64:
|
|
name: Build Mac x64
|
|
runs-on: macos-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Install tools
|
|
run: |
|
|
brew install cmake git gettext
|
|
- run: mkdir -p ${{ github.workspace }}/deps/build
|
|
- run: mkdir -p ${{ github.workspace }}/deps/build/OrcaSlicer_dep
|
|
|
|
# - name: build deps
|
|
# id: cache_deps
|
|
# uses: actions/cache@v3
|
|
# env:
|
|
# cache-name: ${{ runner.os }}-cache-bambustudio_deps_x64
|
|
# with:
|
|
# path: ${{ github.workspace }}/deps/build/OrcaSlicer_dep
|
|
# key: build-${{ env.cache-name }}
|
|
|
|
# - if: ${{ steps.cache_deps.outputs.cache-hit != 'true' }}
|
|
# name: build deps
|
|
# working-directory: ${{ github.workspace }}
|
|
# continue-on-error: true
|
|
# run: ./build_release_macos.sh -d -a x86_64
|
|
|
|
- name: Download and extract deps
|
|
working-directory: ${{ github.workspace }}
|
|
run: |
|
|
curl -LJO https://github.com/SoftFever/FileSharing/releases/download/2/BambuStudio_dep_x86_64_21-01-2023.tar.gz
|
|
tar -zxvf BambuStudio_dep_x86_64_21-01-2023.tar.gz -C ${{ github.workspace }}/deps/build
|
|
chown -R $(id -u):$(id -g) ${{ github.workspace }}/deps/build/OrcaSlicer_dep
|
|
ls -l ${{ github.workspace }}/deps/build/OrcaSlicer_dep
|
|
rm BambuStudio_dep_x86_64_21-01-2023.tar.gz
|
|
|
|
|
|
- name: Build studio
|
|
working-directory: ${{ github.workspace }}
|
|
run: ./build_release_macos.sh -s -n -a x86_64
|
|
|
|
- name: Upload artifacts
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: OrcaSlicer_Mac
|
|
path: ${{ github.workspace }}/build/OrcaSlicer/OrcaSlicer*.zip |