Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
n-ando committed Oct 20, 2024
1 parent f070256 commit 76c74bf
Showing 1 changed file with 37 additions and 41 deletions.
78 changes: 37 additions & 41 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,57 +3,53 @@ name: omniORB Formula Build
on: [push]

jobs:
build-x86_64:
name: omniORB Formula build on macOS (x86_64)
runs-on: self-hosted

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Homebrew
run: |
echo "Setting up Homebrew for Intel"
echo 'eval "$(/usr/local/bin/brew shellenv)"' >> $HOME/.zprofile
eval "$(/usr/local/bin/brew shellenv)"
- name: Install dependencies
run: |
brew install openssl@3
brew tap openrtm/omniorb
- name: Build project
run: |
( cd /usr/local/Homebrew/Library/Taps/openrtm/homebrew-omniorb ; bash build.sh )
# /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# build-arm64:
# name: omniORB Formula build on macOS (ARM64)
# runs-on: macos-latest
# build-x86_64:
# name: omniORB Formula build on macOS (x86_64)
# runs-on: self-hosted
#
# steps:
# - name: Checkout code
# uses: actions/checkout@v3
#
# - name: Set up Homebrew
# run: |
# echo "Setting up Homebrew for Apple Silicon"
# /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> $HOME/.zprofile
# eval "$(/opt/homebrew/bin/brew shellenv)"
#
# echo "Setting up Homebrew for Intel"
# echo 'eval "$(/usr/local/bin/brew shellenv)"' >> $HOME/.zprofile
# eval "$(/usr/local/bin/brew shellenv)"
#
# - name: Install dependencies
# run: |
# brew install openssl@3
# brew tap openrtm/omniorb
#
# - name: Build project
# run: |
# ( cd /opt/homebrew/Library/Taps/openrtm/homebrew-omniorb ; bash build.sh )
# ls -al
#
# - name: Upload artifact
# uses: actions/upload-artifact@v3
# with:
# name: omniorb-ssl-arm64
# path: dist/omniorb-ssl-arm64
# ( cd /usr/local/Homebrew/Library/Taps/openrtm/homebrew-omniorb ; bash build.sh )

build-arm64:
name: omniORB Formula build on macOS (ARM64)
runs-on: macos-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Homebrew
run: |
echo "Setting up Homebrew for Apple Silicon"
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> $HOME/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
- name: Install dependencies
run: |
brew tap openrtm/omniorb
- name: Build project
run: |
( cd /opt/homebrew/Library/Taps/openrtm/homebrew-omniorb ; bash build.sh )
ls -al
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: omniorb-ssl-arm64
path: dist/omniorb-ssl-arm64

0 comments on commit 76c74bf

Please sign in to comment.