ccpp_mac_arm.yml 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. name: C/C++ Nightly arm macos
  2. on:
  3. push:
  4. branches:
  5. - Nigthly
  6. - nightly_dev
  7. - nightly_master
  8. - debug_macos
  9. jobs:
  10. build:
  11. runs-on: macos-14
  12. steps:
  13. - uses: actions/checkout@v3
  14. - name: install autoconf
  15. run: brew install autoconf
  16. - name: check autoconf version
  17. run: autoconf --version
  18. - name: update automake for mpfr
  19. run: |
  20. curl -O -L http://ftpmirror.gnu.org/automake/automake-1.16.5.tar.gz
  21. tar -xzf automake-1.16.5.tar.gz
  22. cd automake-*
  23. ./configure
  24. make
  25. sudo make install
  26. automake --version
  27. - name: build deps & slicer
  28. run: ./BuildMacOS.sh -adsi
  29. - name: Upload artifact
  30. uses: actions/upload-artifact@v1.0.0
  31. with:
  32. name: nightly_macos_arm_debug.dmg
  33. path: build/${{ github.event.repository.name }}.dmg
  34. - name: Upload artifact
  35. uses: actions/upload-artifact@v1.0.0
  36. with:
  37. name: nightly_arm_macos.tar
  38. path: build/${{ github.event.repository.name }}.tar