Skip to content

Commit

Permalink
2.7 alpha build test
Browse files Browse the repository at this point in the history
  • Loading branch information
supermerill committed Nov 11, 2024
2 parents 48b967b + c2c7b37 commit 618bf81
Show file tree
Hide file tree
Showing 33 changed files with 755 additions and 483 deletions.
53 changes: 44 additions & 9 deletions .github/workflows/ccpp_mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,41 @@ on:
- debug_macos

jobs:
build:
build_dep:
runs-on: macos-12

steps:
- uses: actions/checkout@v3
- name: mkdir in deps
run: mkdir deps/build
- 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
- if: steps.cache-action.outputs.cache-hit != 'true'
name: build deps if new cache
run: ./BuildMacOS.sh -d

build:
runs-on: macos-12
needs: build_dep

steps:
- uses: actions/checkout@v3
- name: update submodule profiles
working-directory: ./resources/profiles
run: git submodule update --init
- name: check autoconf version
run: autoconf --version
- name: update automake for mpfr
Expand All @@ -26,15 +55,21 @@ jobs:
make
sudo make install
automake --version
- name: build deps & slicer
run: ./BuildMacOS.sh -dsi
- 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 -si
- name: Upload artifact
uses: actions/upload-artifact@v1.0.0
uses: actions/upload-artifact@v4
with:
name: nightly_macos.app
path: build/pack/${{ github.event.repository.name }}/${{ github.event.repository.name }}.app
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@v1.0.0
uses: actions/upload-artifact@v4
with:
name: nightly_macos.dmg
path: ${{ github.event.repository.name }}.dmg
name: nightly_${{ github.event.repository.name }}-macOS-intel.dmg
path: build/${{ github.event.repository.name }}-macOS-intel.dmg
43 changes: 33 additions & 10 deletions .github/workflows/ccpp_mac_arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ on:
- debug_macos

jobs:
build:

build_dep:
runs-on: macos-14

steps:
Expand All @@ -28,15 +27,39 @@ jobs:
make
sudo make install
automake --version
- name: build deps & slicer
run: ./BuildMacOS.sh -adsi
- 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 -asi
- name: Upload artifact
uses: actions/upload-artifact@v1.0.0
uses: actions/upload-artifact@v4
with:
name: nightly_macos_arm_debug.dmg
path: build/${{ github.event.repository.name }}.dmg
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@v1.0.0
uses: actions/upload-artifact@v4
with:
name: nightly_arm_macos.tar
path: build/${{ github.event.repository.name }}.tar
name: nightly_${{ github.event.repository.name }}-macOS-arm.tgz
path: build/${{ github.event.repository.name }}-macOS-arm.tgz
64 changes: 49 additions & 15 deletions .github/workflows/ccpp_mac_arm_debug.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,65 @@
name: C/C++ debug arm macos
name: C/C++ Nightly arm macos

on:
push:
branches:
- Nigthly
- nightly_dev
- nightly_master
- debug_macos

jobs:
build:
build_dep:
runs-on: macos-14

steps:
- uses: actions/checkout@v3
- name: install autoconf
run: 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_debug_2.7
path: deps/build/destdir
- if: steps.cache-action.outputs.cache-hit != 'true'
name: build deps if new cache
run: ./BuildMacOS.sh -bad

build:
runs-on: macos-14
needs: build_dep

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: dep cache
id: cache-action
uses: actions/cache@v3
with:
ref: 'debug_macos'
- name: build deps & slicer
run: ./BuildMacOS.sh -badsi
- name: ls build
working-directory: ./build
run: ls
key: macos_arm_debug_2.7
path: deps/build/destdir
- name: build slicer
run: ./BuildMacOS.sh -basi
- name: Upload artifact
uses: actions/upload-artifact@v1.0.0
uses: actions/upload-artifact@v4
with:
name: nightly_macos_arm_debug.dmg
path: build/${{ github.event.repository.name }}.dmg
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@v1.0.0
uses: actions/upload-artifact@v4
with:
name: nightly_arm_macos.tar
path: build/${{ github.event.repository.name }}.tar
name: nightly_${{ github.event.repository.name }}-macOS-arm.tgz
path: build/${{ github.event.repository.name }}-macOS-arm.tgz
43 changes: 32 additions & 11 deletions .github/workflows/ccpp_mac_arm_rc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,44 @@ on:
- rc

jobs:
build:
build_dep:
runs-on: macos-14

steps:
- uses: actions/checkout@v3
- 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@v2
- uses: actions/checkout@v3
- name: dep cache
id: cache-action
uses: actions/cache@v3
with:
ref: 'rc'
- name: build deps & slicer
run: ./BuildMacOS.sh -adsi
key: macos_arm_2.7
path: deps/build/destdir
- name: build slicer
run: ./BuildMacOS.sh -asi
- name: Upload artifact
uses: actions/upload-artifact@v1.0.0
uses: actions/upload-artifact@v4
with:
name: rc_arm_macos.dmg
path: build/${{ github.event.repository.name }}.dmg
name: rc_${{ github.event.repository.name }}-macOS-arm.dmg
path: build/${{ github.event.repository.name }}-macOS-arm.dmg
- name: Upload artifact
uses: actions/upload-artifact@v1.0.0
uses: actions/upload-artifact@v4
with:
name: rc_arm_macos.tar
path: build/${{ github.event.repository.name }}.tar
name: rc_${{ github.event.repository.name }}-macOS-arm.tgz
path: build/${{ github.event.repository.name }}-macOS-arm.tgz
74 changes: 59 additions & 15 deletions .github/workflows/ccpp_mac_debug.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,75 @@
name: C/C++ debug macos
name: C/C++ Nightly macos

on:
push:
branches:
- Nigthly
- nightly_dev
- nightly_master
- debug_macos

jobs:
build:
build_dep:
runs-on: macos-12

steps:
- uses: actions/checkout@v3
- name: mkdir in deps
run: mkdir deps/build
- 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_debug_2.7
path: deps/build/destdir
- if: steps.cache-action.outputs.cache-hit != 'true'
name: build deps if new cache
run: ./BuildMacOS.sh -bd

build:
runs-on: macos-12
needs: build_dep

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: update submodule profiles
working-directory: ./resources/profiles
run: git submodule update --init
- 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:
ref: 'debug_macos'
- name: build deps & slicer
run: ./BuildMacOS.sh -bdsi
- name: tar the pack
working-directory: ./build
run: ls
key: macos_intel_debug_2.7
path: deps/build/destdir
- name: build slicer
run: ./BuildMacOS.sh -bsi
- name: Upload artifact
uses: actions/upload-artifact@v1.0.0
uses: actions/upload-artifact@v4
with:
name: nightly_macos_debug.dmg
path: build/${{ github.event.repository.name }}.dmg
name: debug_${{ github.event.repository.name }}-macOS-intel.tgz
path: build/${{ github.event.repository.name }}-macOS-intel.tgz
- name: Upload artifact
uses: actions/upload-artifact@v1.0.0
uses: actions/upload-artifact@v4
with:
name: nightly_macos.tar
path: ${{ github.event.repository.name }}.tar
name: debug_${{ github.event.repository.name }}-macOS-intel.dmg
path: build/${{ github.event.repository.name }}-macOS-intel.dmg
Loading

0 comments on commit 618bf81

Please sign in to comment.