forked from fr3ak2402/GalaxySlicer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into 1-0-0-head-rel
- Loading branch information
Showing
4,395 changed files
with
102,397 additions
and
6 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: Build dependencies (macOS arm64) | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
paths: | ||
- 'deps/**' | ||
- '.github/workflows/**' | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- 'deps/**' | ||
- '.github/workflows/**' | ||
|
||
jobs: | ||
build_osx_arm64: | ||
name: Build dependencies (macOS arm64) | ||
runs-on: macos-arm64 | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
# Build macOS arm64 dependencies | ||
- name: Build on macOS arm64 | ||
working-directory: ${{ github.workspace }} | ||
run: | | ||
brew install cmake git gettext automake | ||
mkdir -p ${{ github.workspace }}/deps/build_arm64 | ||
mkdir -p ${{ github.workspace }}/deps/build_arm64/GalaxySlicer_dep_arm64 | ||
./build_release_macos.sh -d -a arm64 | ||
- name: Cleaning up the macOS arm64 Build Directory | ||
working-directory: ${{ github.workspace }}/deps/build_arm64 | ||
run: | | ||
rm -r dep_* | ||
- name: Pack macOS arm64 dependencies | ||
working-directory: ${{ github.workspace }}/deps/build_arm64 | ||
run: 'tar cfvz GalaxySlicer_dep_arm64.tar.gz GalaxySlicer_dep_arm64' | ||
|
||
- name: Upload macOS arm64 dependencies | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: GalaxySlicer_dep_arm64 | ||
path: ${{ github.workspace }}/deps/build_arm64/GalaxySlicer_dep_arm64.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.