Merge remote-tracking branch 'remotes/local/dev' into superslicer_var… #301
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: C/C++ Nightly arm macos | |
on: | |
push: | |
branches: | |
- Nigthly | |
- nightly_dev | |
- nightly_master | |
- debug_macos | |
jobs: | |
build_dep: | |
runs-on: macos-14 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Autoconf | |
run: | | |
brew update | |
brew install autoconf | |
- name: check autoconf version | |
run: autoconf --version | |
- name: update automake for mpfr | |
run: | | |
curl -O -L http://ftpmirror.gnu.org/automake/automake-1.16.5.tar.gz | |
tar -xzf automake-1.16.5.tar.gz | |
cd automake-* | |
./configure | |
make | |
sudo make install | |
automake --version | |
- name: mkdir in deps | |
run: mkdir deps/build | |
- name: dep cache | |
id: cache-action | |
uses: actions/cache@v3 | |
with: | |
key: macos_arm_2.7 | |
path: deps/build/destdir | |
- if: steps.cache-action.outputs.cache-hit != 'true' | |
name: build deps if new cache | |
run: ./BuildMacOS.sh -ad | |
build: | |
runs-on: macos-14 | |
needs: build_dep | |
steps: | |
- uses: actions/checkout@v3 | |
- name: dep cache | |
id: cache-action | |
uses: actions/cache@v3 | |
with: | |
key: macos_arm_2.7 | |
path: deps/build/destdir | |
- name: build slicer | |
run: ./BuildMacOS.sh -asiv | |
- name: Upload artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: nightly_${{ github.event.repository.name }}-macOS-arm.dmg | |
path: build/${{ github.event.repository.name }}-macOS-arm.dmg | |
- name: Upload artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: nightly_${{ github.event.repository.name }}-macOS-arm.tgz | |
path: build/${{ github.event.repository.name }}-macOS-arm.tgz |