build_osx_x86 #4
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
name: build_osx_x86 | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: macos-13 | |
steps: | |
# Checks-out the repository under $GITHUB_WORKSPACE | |
- uses: actions/checkout@v4 | |
# Install MacPorts | |
- uses: melusina-org/setup-macports@v1 | |
# Install ccache using port (optional, adjust as needed) | |
- name: Install dependencies | |
run: | | |
sudo port install python311 | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/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: | | |
cd $GITHUB_WORKSPACE/src | |
curl -fsSL https://raw.githubusercontent.com/rcedgar/vcxproj_make/806d016/vcxproj_make.py >./vcxproj_make.py | |
chmod u+x ./vcxproj_make.py | |
./vcxproj_make.py --openmp --cppcompiler g++-11 | |
- name: Upload binary artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: muscle-osx-x86 | |
path: /Users/runner/work/muscle/muscle/bin/muscle |