Skip to content

Removed method call that led to deadlock #56

Removed method call that led to deadlock

Removed method call that led to deadlock #56

Workflow file for this run

name: mac
on:
push:
branches: [main]
pull_request:
env:
artifactoryApiKey: ${{ secrets.artifactoryApiKey }}
build_dir: "Build/Release"
package: EphysSocket-mac
jobs:
build-mac:
runs-on: [macos-latest]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: set env vars
run: |
echo "GUI_BRANCH=development-juce8" >> "$GITHUB_ENV"
- name: setup
run: |
cd ../..
git clone https://github.com/open-ephys/plugin-GUI.git --branch $GUI_BRANCH
cd plugin-GUI/Build && cmake -G "Xcode" ..
- name: build
id: build
run: |
cd Build
cmake -G "Xcode" ..
xcodebuild -configuration Release
- name: deploy
if: github.ref == 'refs/heads/juce8' && steps.build.outcome == 'success'
run: |
plugin_api=$(grep -rnw ../../plugin-GUI/Source -e '#define PLUGIN_API_VER' | grep -Eo "[0-9]" | tail -1)
tag=$(grep -w Source/OpenEphysLib.cpp -e 'info->libVersion' | grep -Eo "[0-9]+.[0-9]+.[0-9]+")
new_plugin_ver=$tag-API$plugin_api
mkdir plugins
cp -r $build_dir/*.bundle plugins
zipfile=${package}_${new_plugin_ver}.zip
zip -r -X $zipfile plugins
curl -H "X-JFrog-Art-Api:$artifactoryApiKey" -T $zipfile "https://openephys.jfrog.io/artifactory/EphysSocket-plugin/mac/$zipfile"