Skip to content

Commit

Permalink
Fix GitHub actions build for macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
kum-deepak committed Jan 8, 2025
1 parent 3e0adc2 commit 3314fc2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/osx.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This is a basic workflow that is manually triggered

name: Safari, Edge
name: Safari

# Controls when the action will run. Workflow runs when manually triggered using the UI
# or API.
Expand All @@ -22,4 +22,3 @@ jobs:
- run: npm ci
- run: npm run build
- run: npx karma start spec/karma.conf.js --single-run --browsers=Safari
- run: npx karma start spec/karma.conf.js --single-run --browsers=EdgeHeadless
5 changes: 3 additions & 2 deletions bin/osx/setup-rabbit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ set -ex

brew install rabbitmq

/usr/local/sbin/rabbitmq-plugins enable --offline rabbitmq_web_stomp
echo 'web_stomp.ws_frame = binary' >> /usr/local/etc/rabbitmq/rabbitmq.conf
# Path depends on whether Apple or Intel silicon is in use, https://www.rabbitmq.com/docs/install-homebrew
/opt/homebrew/sbin/rabbitmq-plugins enable --offline rabbitmq_web_stomp
echo 'web_stomp.ws_frame = binary' >>/opt/homebrew/etc/rabbitmq/rabbitmq.conf

brew services run rabbitmq
brew services list

0 comments on commit 3314fc2

Please sign in to comment.