-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update build_osx_x86.yml, add build_osx_M.yml
- Loading branch information
Showing
3 changed files
with
66 additions
and
11 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: build-osx-M | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: macos-14 | ||
|
||
steps: | ||
# Checks-out the repository under $GITHUB_WORKSPACE | ||
- uses: actions/checkout@v4 | ||
|
||
# Install MacPorts (new step) | ||
- uses: melusina-org/setup-macports@v1 | ||
|
||
# Install ccache using port (optional, adjust as needed) | ||
- name: Install ccache | ||
run: | | ||
sudo port install python311 | ||
/bin/bash -c "$(curl -fsSL https://github.com/raw/Homebrew/install/HEAD/install.sh)" | ||
brew update | ||
brew install gcc@11 | ||
# Runs a set of commands using the runner's shell | ||
- name: Build-commands | ||
run: | | ||
echo Starting Build-commands | ||
echo GITHUB_WORKSPACE=$GITHUB_WORKSPACE | ||
uname -a | ||
cd $GITHUB_WORKSPACE | ||
ls -lh | ||
cd src | ||
curl -fsSL https://github.com/raw/rcedgar/vcxproj_make/806d016/vcxproj_make.py >./vcxproj_make.py | ||
chmod u+x ./vcxproj_make.py | ||
./vcxproj_make.py --openmp --cppcompiler g++-11 | ||
pwd | ||
- name: Upload binary artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: muscle-osx-binary-m | ||
path: /Users/runner/work/muscle/muscle/bin/muscle | ||
- name: Upload make.stderr artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: make.stderr-osx-m | ||
path: /Users/runner/work/muscle/muscle/src/make.stderr | ||
- name: Upload make.stdout artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: make.stdout-osx-m | ||
path: /Users/runner/work/muscle/muscle/src/make.stdout | ||
|
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