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: 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 tap openrtm/omniorb | |
# | |
# - name: Build project | |
# run: | | |
# ( 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: | | |
bash build.sh | |
ls -al | |
mkdir dist | |
mv *.tar.gz dist | |
mv *.sha256 dist | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: omniorb-ssl-arm64 | |
path: ./dist/ |