Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
umairsair committed Feb 4, 2024
1 parent 9e25ae1 commit 8c364ee
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
19 changes: 18 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,18 +150,35 @@ jobs:
uses: stCarolas/[email protected]
with:
maven-version: 3.9.2
- name: Screenshot Website
uses: swinton/[email protected]
with:
source: https://github.com/swinton/screenshot-website
destination: screenshot.png
- name: Run spctl --master-disable
run: sudo spctl --master-disable
- name: Build
working-directory: features/org.eclipse.equinox.executable.feature/library/cocoa
run: ./build.sh test
shell: bash
- name: screenshot
if: always()
uses: OrbitalOwen/[email protected]
with:
file-name: 'desktop.jpg'
- name: Run spctl --master-disable
run: sudo spctl --master-disable
- name: Upload artifacts
uses: actions/upload-artifact@v4
if: success()
if: always()
with:
name: MacOS launcher artifacts
path: |
features/org.eclipse.equinox.executable.feature/
features/org.eclipse.equinox.executable.feature/library/cocoa/eclipse
features/org.eclipse.equinox.executable.feature/library/cocoa/eclipse*.so
desktop.jpg
screenshot.png
if-no-files-found: error
- name: Upload MacOS Test Results
uses: actions/upload-artifact@v4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ fi

if [ "$extraArgs" != "" ]; then
make -f $makefile $extraArgs
../org.eclipse.launcher.tests/target/test-run/eclipse 2>&1 > log.txt &
else
echo "Building $defaultOS launcher. Defaults: -os $DEFAULT_OS -arch $DEFAULT_OS_ARCH -ws $DEFAULT_WS"
make -f $makefile clean
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ ifneq ($(filter "$(origin DEV_ECLIPSE)", "environment" "command line"),)
$(info Copying $(EXEC) and $(DLL) into your development eclipse folder:)
mkdir -p ${DEV_ECLIPSE}/
cp $(EXEC) ${DEV_ECLIPSE}/
mkdir -p ${DEV_ECLIPSE}/plugins/$(LIBRARY_FRAGMENT_NAME)/
cp $(DLL) ${DEV_ECLIPSE}/plugins/$(LIBRARY_FRAGMENT_NAME)/
mkdir -p ${DEV_ECLIPSE}/../Eclipse/plugins/$(LIBRARY_FRAGMENT_NAME)/
cp $(DLL) ${DEV_ECLIPSE}/../Eclipse/plugins/$(LIBRARY_FRAGMENT_NAME)/
else
$(error $(DEV_INSTALL_ERROR_MSG))
endif
Expand Down

0 comments on commit 8c364ee

Please sign in to comment.