File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change 113113 name : ${{env.APP_NAME}}-${{env.APP_VERSION}}-macOS.zip
114114 path : ${{env.APP_NAME}}-${{env.APP_VERSION}}-macOS.zip
115115
116+ # # macOS build ###############################################################
117+ build-mac-arm :
118+ name : " macOS ARM CI build"
119+ runs-on : macos-13-xlarge
120+ steps :
121+ # Checkout repository (and submodules)
122+ - name : Checkout repository (and submodules)
123+ uses : actions/checkout@v4
124+ with :
125+ submodules : recursive
126+
127+ # Install dependencies (from package manager)
128+ # - name: Install dependencies (from package manager)
129+ # run: |
130+ # brew install qt6 cmake
131+
132+ # Install Qt
133+ - name : Install Qt
134+ uses : jurplel/install-qt-action@v3
135+ with :
136+ version : ${{env.QT_VERSION}}
137+
138+ # Setup env
139+ - name : Setup env
140+ run : |
141+ cmake --version
142+
143+ # Build application
144+ - name : Build application
145+ run : |
146+ export CMAKE_BUILD_PARALLEL_LEVEL=`sysctl -n hw.logicalcpu`
147+ cmake -B build/ -DCMAKE_BUILD_TYPE=Release
148+ cmake --build build/ --config Release --target all
149+
150+ # Deploy application
151+ - name : Deploy application
152+ run : ./deploy_macos.sh -c -p
153+
154+ # Upload application ZIP
155+ - name : Upload application ZIP
156+ uses : actions/upload-artifact@v4
157+ with :
158+ name : ${{env.APP_NAME}}-${{env.APP_VERSION}}-macOS.zip
159+ path : ${{env.APP_NAME}}-${{env.APP_VERSION}}-macOS.zip
160+
116161 # # Windows build #############################################################
117162 build-windows :
118163 name : " Windows CI build"
You can’t perform that action at this time.
0 commit comments