-
Notifications
You must be signed in to change notification settings - Fork 23
36 lines (30 loc) · 1.08 KB
/
build_osx_x86.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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