ccpp_mac_arm_rc.yml 1005 B

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