Skip to content

Commit

Permalink
[FIXUP] test it
Browse files Browse the repository at this point in the history
  • Loading branch information
HannesWell committed Apr 6, 2024
1 parent 90351a5 commit 4e7a254
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,13 @@ jobs:
- name: Build on POSIX
working-directory: features/org.eclipse.equinox.executable.feature/library/${{ matrix.config.ws }}
env:
BINARIES_LOC: ${{ github.workspace }}/equinox.binaries
BINARIES_DIR: ${{ github.workspace }}/equinox.binaries
run: ./build.sh -ws ${{ matrix.config.ws }} -os ${{ matrix.config.os }} -arch x86_64 install
if: ${{ matrix.config.ws != 'win32'}}
- name: Build on Windows
working-directory: features/org.eclipse.equinox.executable.feature/library/win32
env:
BINARIES_LOC: ${{ github.workspace }}/equinox.binaries
BINARIES_DIR: ${{ github.workspace }}/equinox.binaries
run: .\build.bat -ws win32 -os win32 -arch x86_64 install
if: ${{ matrix.config.ws == 'win32'}}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ PROGRAM_OUTPUT="$programOutput"
DEFAULT_OS="$defaultOS"
DEFAULT_WS="$defaultWS"
DEPLOYMENT_TARGET=11.0
if [ "$BINARIES_DIR" == "" ]; then BINARIES_DIR="../../../../../rt.equinox.binaries"; fi
if [ "$BINARIES_DIR" = "" ]; then BINARIES_DIR="../../../../../rt.equinox.binaries"; fi

if [ "$defaultOSArch" == "arm64" ] || [ "$defaultOSArch" == "aarch64" ]
then
Expand All @@ -72,8 +72,8 @@ else
DEFAULT_OS_ARCH="$defaultOSArch"
fi

if [ "$EXE_OUTPUT_DIR" == "" ]; then EXE_OUTPUT_DIR="$BINARIES_DIR/org.eclipse.equinox.executable/bin/$defaultWS/$defaultOS/$DEFAULT_OS_ARCH/Eclipse.app/Contents/MacOS"; fi
if [ "$LIB_OUTPUT_DIR" == "" ]; then LIB_OUTPUT_DIR="$BINARIES_DIR/org.eclipse.equinox.launcher.$defaultWS.$defaultOS.$DEFAULT_OS_ARCH"; fi
if [ "$EXE_OUTPUT_DIR" = "" ]; then EXE_OUTPUT_DIR="$BINARIES_DIR/org.eclipse.equinox.executable/bin/$defaultWS/$defaultOS/$DEFAULT_OS_ARCH/Eclipse.app/Contents/MacOS"; fi
if [ "$LIB_OUTPUT_DIR" = "" ]; then LIB_OUTPUT_DIR="$BINARIES_DIR/org.eclipse.equinox.launcher.$defaultWS.$defaultOS.$DEFAULT_OS_ARCH"; fi

# /System/Library/Frameworks/JavaVM.framework/Headers does not exist anymore on Yosemite
if [ -e /System/Library/Frameworks/JavaVM.framework/Headers ]; then
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,12 @@ programOutput="eclipse"
defaultOS=""
defaultOSArch=""
defaultWS="gtk"
if [ "$BINARIES_DIR" == "" ]; then BINARIES_DIR="../../../../../rt.equinox.binaries"; fi

echo "Hello 1"
echo "Hello $BINARIES_DIR"
if [ "$BINARIES_DIR" = "" ]; then BINARIES_DIR="../../../../../rt.equinox.binaries"; fi
echo $BINARIES_DIR

defaultJava=DEFAULT_JAVA_JNI
defaultJavaHome=""
javaHome=""
Expand Down Expand Up @@ -146,8 +151,8 @@ elif [ "$defaultOSArch" = "s390x" ]; then
fi
fi

if [ "$EXE_OUTPUT_DIR" == "" ]; then EXE_OUTPUT_DIR="$BINARIES_DIR/org.eclipse.equinox.executable/bin/$defaultWS/$defaultOS/$defaultOSArch"; fi
if [ "$LIB_OUTPUT_DIR" == "" ]; then LIB_OUTPUT_DIR="$BINARIES_DIR/org.eclipse.equinox.launcher.$defaultWS.$defaultOS.$defaultOSArch"; fi
if [ "$EXE_OUTPUT_DIR" = "" ]; then EXE_OUTPUT_DIR="$BINARIES_DIR/org.eclipse.equinox.executable/bin/$defaultWS/$defaultOS/$defaultOSArch"; fi
if [ "$LIB_OUTPUT_DIR" = "" ]; then LIB_OUTPUT_DIR="$BINARIES_DIR/org.eclipse.equinox.launcher.$defaultWS.$defaultOS.$defaultOSArch"; fi

export PROGRAM_OUTPUT DEFAULT_OS DEFAULT_OS_ARCH DEFAULT_WS DEFAULT_JAVA EXE_OUTPUT_DIR LIB_OUTPUT_DIR

Expand Down

0 comments on commit 4e7a254

Please sign in to comment.