Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/macos-intel.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: MacOS-Intel

on:
workflow_dispatch:
push:
branches:
- 'master'
pull_request:
branches:
- 'master'

jobs:
build:
runs-on: macos-13

steps:
- name: Get INDI Sources
uses: actions/checkout@v3
with:
path: 'indi'

- name: Install Pre-requisites
run: indi/scripts/requisites-install.sh

- name: Build INDI Core
run: |
indi/scripts/indi-core-build.sh
indi/scripts/indi-core-package-build.sh

- name: Install INDI Core
run: indi/scripts/indi-core-install.sh

- name: Run INDI Core Test
run: indi/scripts/indi-core-test.sh

- name: Archive INDI Core Package
uses: actions/upload-artifact@v4
with:
name: indi-core-package-macos-intel
path: packages/indi-core-package.tar
5 changes: 5 additions & 0 deletions scripts/requisites-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ OS=$(uname -s)

case "$OS" in
Darwin)
BREW="/usr/local/bin/brew"
if [[ $(uname -m) == "arm64" ]]
then
BREW="/opt/homebrew/bin/brew"
fi
brew install \
git \
cfitsio libnova libusb curl \
Expand Down