123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- name: C/C++ Nightly macos
- on:
- push:
- branches:
- - Nigthly
- - nightly_dev
- - nightly_master
- - debug_macos
- jobs:
- build_dep:
- runs-on: macos-13
- 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_intel_2.7
- path: deps/build/destdir
- - if: steps.cache-action.outputs.cache-hit != 'true'
- name: build deps if new cache
- run: ./BuildMacOS.sh -d
- build:
- runs-on: macos-13
- needs: build_dep
- steps:
- - uses: actions/checkout@v3
- - 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: dep cache
- id: cache-action
- uses: actions/cache@v3
- with:
- key: macos_intel_2.7
- path: deps/build/destdir
- - name: build slicer
- run: ./BuildMacOS.sh -siv
- - name: Upload artifact
- uses: actions/upload-artifact@v4
- with:
- name: nightly_${{ github.event.repository.name }}-macOS-intel.tgz
- path: build/${{ github.event.repository.name }}-macOS-intel.tgz
- - name: Upload artifact
- uses: actions/upload-artifact@v4
- with:
- name: nightly_${{ github.event.repository.name }}-macOS-intel.dmg
- path: build/${{ github.event.repository.name }}-macOS-intel.dmg
|