From 2337e3b4498d1588a1483ca63b6ff55d83c54639 Mon Sep 17 00:00:00 2001 From: Maximilian Kratz Date: Mon, 17 Jun 2024 13:37:34 +0200 Subject: [PATCH] Win: xtext --- .github/workflows/ci.yml | 710 +++++++++++++++++++-------------------- build.sh | 3 +- 2 files changed, 357 insertions(+), 356 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0ebb321..4de37bd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -92,281 +92,281 @@ jobs: name: splash.bmp path: splash.bmp - # Build Eclipse eMoflon Linux user - build-linux-user: - needs: [create-splash-image, collect-github-api-artifacts] - runs-on: [ubuntu-20.04] - steps: - - name: Start message - run: echo "Started CI build (Eclipse eMoflon Linux user)." - - name: Check out repository code - uses: actions/checkout@v4 - - name: Download splash image - uses: actions/download-artifact@v4 - with: - name: splash.bmp - - name: Download emoflon-headless updatesite - uses: actions/download-artifact@v4 - with: - name: emoflon-headless-updatesite.zip - - name: Move emoflon-headless updatesite - run: | - mkdir -p ./tmp/emoflon-headless - mv emoflon-headless-updatesite.zip ./tmp/emoflon-headless/updatesite.zip - - name: Download Eclipse import plugin JAR - uses: actions/download-artifact@v4 - with: - name: com.seeq.eclipse.importprojects.jar - - name: Run build script - run: | - chmod +x build.sh && ./build.sh -m user -o linux - - name: Upload artifact - uses: actions/upload-artifact@v4 - with: - name: eclipse-emoflon-linux-user - path: eclipse-emoflon-linux-user.zip + # # Build Eclipse eMoflon Linux user + # build-linux-user: + # needs: [create-splash-image, collect-github-api-artifacts] + # runs-on: [ubuntu-20.04] + # steps: + # - name: Start message + # run: echo "Started CI build (Eclipse eMoflon Linux user)." + # - name: Check out repository code + # uses: actions/checkout@v4 + # - name: Download splash image + # uses: actions/download-artifact@v4 + # with: + # name: splash.bmp + # - name: Download emoflon-headless updatesite + # uses: actions/download-artifact@v4 + # with: + # name: emoflon-headless-updatesite.zip + # - name: Move emoflon-headless updatesite + # run: | + # mkdir -p ./tmp/emoflon-headless + # mv emoflon-headless-updatesite.zip ./tmp/emoflon-headless/updatesite.zip + # - name: Download Eclipse import plugin JAR + # uses: actions/download-artifact@v4 + # with: + # name: com.seeq.eclipse.importprojects.jar + # - name: Run build script + # run: | + # chmod +x build.sh && ./build.sh -m user -o linux + # - name: Upload artifact + # uses: actions/upload-artifact@v4 + # with: + # name: eclipse-emoflon-linux-user + # path: eclipse-emoflon-linux-user.zip - # Build Eclipse eMoflon Linux dev - build-linux-dev: - needs: [create-splash-image, collect-github-api-artifacts] - runs-on: [ubuntu-20.04] - steps: - - name: Start message - run: echo "Started CI build (Eclipse eMoflon Linux dev)." - - name: Check out repository code - uses: actions/checkout@v4 - - name: Download splash image - uses: actions/download-artifact@v4 - with: - name: splash.bmp - - name: Download emoflon-headless updatesite - uses: actions/download-artifact@v4 - with: - name: emoflon-headless-updatesite.zip - - name: Move emoflon-headless updatesite - run: | - mkdir -p ./tmp/emoflon-headless - mv emoflon-headless-updatesite.zip ./tmp/emoflon-headless/updatesite.zip - - name: Download Eclipse import plugin JAR - uses: actions/download-artifact@v4 - with: - name: com.seeq.eclipse.importprojects.jar - - name: Run build script - run: chmod +x build.sh && ./build.sh -m dev -o linux - - name: Upload artifact - uses: actions/upload-artifact@v4 - with: - name: eclipse-emoflon-linux-dev - path: eclipse-emoflon-linux-dev.zip + # # Build Eclipse eMoflon Linux dev + # build-linux-dev: + # needs: [create-splash-image, collect-github-api-artifacts] + # runs-on: [ubuntu-20.04] + # steps: + # - name: Start message + # run: echo "Started CI build (Eclipse eMoflon Linux dev)." + # - name: Check out repository code + # uses: actions/checkout@v4 + # - name: Download splash image + # uses: actions/download-artifact@v4 + # with: + # name: splash.bmp + # - name: Download emoflon-headless updatesite + # uses: actions/download-artifact@v4 + # with: + # name: emoflon-headless-updatesite.zip + # - name: Move emoflon-headless updatesite + # run: | + # mkdir -p ./tmp/emoflon-headless + # mv emoflon-headless-updatesite.zip ./tmp/emoflon-headless/updatesite.zip + # - name: Download Eclipse import plugin JAR + # uses: actions/download-artifact@v4 + # with: + # name: com.seeq.eclipse.importprojects.jar + # - name: Run build script + # run: chmod +x build.sh && ./build.sh -m dev -o linux + # - name: Upload artifact + # uses: actions/upload-artifact@v4 + # with: + # name: eclipse-emoflon-linux-dev + # path: eclipse-emoflon-linux-dev.zip - # Build Eclipse eMoflon Linux user CI - build-linux-user-ci: - needs: [collect-github-api-artifacts] - runs-on: [ubuntu-20.04] - steps: - - name: Start message - run: echo "Started CI build (Eclipse eMoflon Linux user CI)." - - name: Check out repository code - uses: actions/checkout@v4 - - name: Download emoflon-headless updatesite - uses: actions/download-artifact@v4 - with: - name: emoflon-headless-updatesite.zip - - name: Move emoflon-headless updatesite - run: | - mkdir -p ./tmp/emoflon-headless - mv emoflon-headless-updatesite.zip ./tmp/emoflon-headless/updatesite.zip - - name: Download Eclipse import plugin JAR - uses: actions/download-artifact@v4 - with: - name: com.seeq.eclipse.importprojects.jar - - name: Run build script - run: chmod +x build.sh && ./build.sh -m user -o linux --skip-theme - - name: Rename ZIP archive - run: mv eclipse-emoflon-linux-user.zip eclipse-emoflon-linux-user-ci.zip - - name: Upload artifact - uses: actions/upload-artifact@v4 - with: - name: eclipse-emoflon-linux-user-ci - path: eclipse-emoflon-linux-user-ci.zip + # # Build Eclipse eMoflon Linux user CI + # build-linux-user-ci: + # needs: [collect-github-api-artifacts] + # runs-on: [ubuntu-20.04] + # steps: + # - name: Start message + # run: echo "Started CI build (Eclipse eMoflon Linux user CI)." + # - name: Check out repository code + # uses: actions/checkout@v4 + # - name: Download emoflon-headless updatesite + # uses: actions/download-artifact@v4 + # with: + # name: emoflon-headless-updatesite.zip + # - name: Move emoflon-headless updatesite + # run: | + # mkdir -p ./tmp/emoflon-headless + # mv emoflon-headless-updatesite.zip ./tmp/emoflon-headless/updatesite.zip + # - name: Download Eclipse import plugin JAR + # uses: actions/download-artifact@v4 + # with: + # name: com.seeq.eclipse.importprojects.jar + # - name: Run build script + # run: chmod +x build.sh && ./build.sh -m user -o linux --skip-theme + # - name: Rename ZIP archive + # run: mv eclipse-emoflon-linux-user.zip eclipse-emoflon-linux-user-ci.zip + # - name: Upload artifact + # uses: actions/upload-artifact@v4 + # with: + # name: eclipse-emoflon-linux-user-ci + # path: eclipse-emoflon-linux-user-ci.zip - # Build Eclipse eMoflon Linux dev CI - build-linux-dev-ci: - needs: [collect-github-api-artifacts] - runs-on: [ubuntu-20.04] - steps: - - name: Start message - run: echo "Started CI build (Eclipse eMoflon Linux dev CI)." - - name: Check out repository code - uses: actions/checkout@v4 - - name: Download emoflon-headless updatesite - uses: actions/download-artifact@v4 - with: - name: emoflon-headless-updatesite.zip - - name: Move emoflon-headless updatesite - run: | - mkdir -p ./tmp/emoflon-headless - mv emoflon-headless-updatesite.zip ./tmp/emoflon-headless/updatesite.zip - - name: Download Eclipse import plugin JAR - uses: actions/download-artifact@v4 - with: - name: com.seeq.eclipse.importprojects.jar - - name: Run build script - run: chmod +x build.sh && ./build.sh -m dev -o linux --skip-theme - - name: Rename ZIP archive - run: mv eclipse-emoflon-linux-dev.zip eclipse-emoflon-linux-dev-ci.zip - - name: Upload artifact - uses: actions/upload-artifact@v4 - with: - name: eclipse-emoflon-linux-dev-ci - path: eclipse-emoflon-linux-dev-ci.zip + # # Build Eclipse eMoflon Linux dev CI + # build-linux-dev-ci: + # needs: [collect-github-api-artifacts] + # runs-on: [ubuntu-20.04] + # steps: + # - name: Start message + # run: echo "Started CI build (Eclipse eMoflon Linux dev CI)." + # - name: Check out repository code + # uses: actions/checkout@v4 + # - name: Download emoflon-headless updatesite + # uses: actions/download-artifact@v4 + # with: + # name: emoflon-headless-updatesite.zip + # - name: Move emoflon-headless updatesite + # run: | + # mkdir -p ./tmp/emoflon-headless + # mv emoflon-headless-updatesite.zip ./tmp/emoflon-headless/updatesite.zip + # - name: Download Eclipse import plugin JAR + # uses: actions/download-artifact@v4 + # with: + # name: com.seeq.eclipse.importprojects.jar + # - name: Run build script + # run: chmod +x build.sh && ./build.sh -m dev -o linux --skip-theme + # - name: Rename ZIP archive + # run: mv eclipse-emoflon-linux-dev.zip eclipse-emoflon-linux-dev-ci.zip + # - name: Upload artifact + # uses: actions/upload-artifact@v4 + # with: + # name: eclipse-emoflon-linux-dev-ci + # path: eclipse-emoflon-linux-dev-ci.zip - # Build Eclipse eMoflon Linux dev HiPE - build-linux-dev-hipe: - needs: [create-splash-image, collect-github-api-artifacts] - runs-on: [ubuntu-20.04] - steps: - - name: Start message - run: echo "Started CI build (Eclipse eMoflon Linux dev HiPE)." - - name: Check out repository code - uses: actions/checkout@v4 - - name: Download splash image - uses: actions/download-artifact@v4 - with: - name: splash.bmp - - name: Download emoflon-headless updatesite - uses: actions/download-artifact@v4 - with: - name: emoflon-headless-updatesite.zip - - name: Move emoflon-headless updatesite - run: | - mkdir -p ./tmp/emoflon-headless - mv emoflon-headless-updatesite.zip ./tmp/emoflon-headless/updatesite.zip - - name: Download Eclipse import plugin JAR - uses: actions/download-artifact@v4 - with: - name: com.seeq.eclipse.importprojects.jar - - name: Run build script - run: chmod +x build.sh && ./build.sh -m hipedev -o linux - - name: Upload artifact - uses: actions/upload-artifact@v4 - with: - name: eclipse-emoflon-linux-dev-hipe - path: eclipse-emoflon-linux-dev-hipe.zip + # # Build Eclipse eMoflon Linux dev HiPE + # build-linux-dev-hipe: + # needs: [create-splash-image, collect-github-api-artifacts] + # runs-on: [ubuntu-20.04] + # steps: + # - name: Start message + # run: echo "Started CI build (Eclipse eMoflon Linux dev HiPE)." + # - name: Check out repository code + # uses: actions/checkout@v4 + # - name: Download splash image + # uses: actions/download-artifact@v4 + # with: + # name: splash.bmp + # - name: Download emoflon-headless updatesite + # uses: actions/download-artifact@v4 + # with: + # name: emoflon-headless-updatesite.zip + # - name: Move emoflon-headless updatesite + # run: | + # mkdir -p ./tmp/emoflon-headless + # mv emoflon-headless-updatesite.zip ./tmp/emoflon-headless/updatesite.zip + # - name: Download Eclipse import plugin JAR + # uses: actions/download-artifact@v4 + # with: + # name: com.seeq.eclipse.importprojects.jar + # - name: Run build script + # run: chmod +x build.sh && ./build.sh -m hipedev -o linux + # - name: Upload artifact + # uses: actions/upload-artifact@v4 + # with: + # name: eclipse-emoflon-linux-dev-hipe + # path: eclipse-emoflon-linux-dev-hipe.zip - # Build Eclipse eMoflon macOS user - build-macos-user: - needs: [create-splash-image, collect-github-api-artifacts] - runs-on: [macos-12] - steps: - - name: Start message - run: echo "Started CI build (Eclipse eMoflon macOS user)." - - name: Install dependencies - run: | - brew install p7zip coreutils grep wget curl - - name: Check out repository code - uses: actions/checkout@v4 - - name: Download splash image - uses: actions/download-artifact@v4 - with: - name: splash.bmp - - name: Download emoflon-headless updatesite - uses: actions/download-artifact@v4 - with: - name: emoflon-headless-updatesite.zip - - name: Move emoflon-headless updatesite - run: | - mkdir -p ./tmp/emoflon-headless - mv emoflon-headless-updatesite.zip ./tmp/emoflon-headless/updatesite.zip - - name: Download Eclipse import plugin JAR - uses: actions/download-artifact@v4 - with: - name: com.seeq.eclipse.importprojects.jar - - name: Run build script - run: chmod +x build.sh && ./build.sh -m user -o macos - - name: Fix permissions - run: sudo xattr -cr ./eclipse/Eclipse.app - - name: Upload artifact - uses: actions/upload-artifact@v4 - with: - name: eclipse-emoflon-macos-user - path: eclipse-emoflon-macos-user.zip + # # Build Eclipse eMoflon macOS user + # build-macos-user: + # needs: [create-splash-image, collect-github-api-artifacts] + # runs-on: [macos-12] + # steps: + # - name: Start message + # run: echo "Started CI build (Eclipse eMoflon macOS user)." + # - name: Install dependencies + # run: | + # brew install p7zip coreutils grep wget curl + # - name: Check out repository code + # uses: actions/checkout@v4 + # - name: Download splash image + # uses: actions/download-artifact@v4 + # with: + # name: splash.bmp + # - name: Download emoflon-headless updatesite + # uses: actions/download-artifact@v4 + # with: + # name: emoflon-headless-updatesite.zip + # - name: Move emoflon-headless updatesite + # run: | + # mkdir -p ./tmp/emoflon-headless + # mv emoflon-headless-updatesite.zip ./tmp/emoflon-headless/updatesite.zip + # - name: Download Eclipse import plugin JAR + # uses: actions/download-artifact@v4 + # with: + # name: com.seeq.eclipse.importprojects.jar + # - name: Run build script + # run: chmod +x build.sh && ./build.sh -m user -o macos + # - name: Fix permissions + # run: sudo xattr -cr ./eclipse/Eclipse.app + # - name: Upload artifact + # uses: actions/upload-artifact@v4 + # with: + # name: eclipse-emoflon-macos-user + # path: eclipse-emoflon-macos-user.zip - # Build Eclipse eMoflon macOS dev - build-macos-dev: - needs: [create-splash-image, collect-github-api-artifacts] - runs-on: [macos-12] - steps: - - name: Start message - run: echo "Started CI build (Eclipse eMoflon macOS dev)." - - name: Install dependencies - run: | - brew install p7zip coreutils grep wget curl - - name: Check out repository code - uses: actions/checkout@v4 - - name: Download splash image - uses: actions/download-artifact@v4 - with: - name: splash.bmp - - name: Download emoflon-headless updatesite - uses: actions/download-artifact@v4 - with: - name: emoflon-headless-updatesite.zip - - name: Move emoflon-headless updatesite - run: | - mkdir -p ./tmp/emoflon-headless - mv emoflon-headless-updatesite.zip ./tmp/emoflon-headless/updatesite.zip - - name: Download Eclipse import plugin JAR - uses: actions/download-artifact@v4 - with: - name: com.seeq.eclipse.importprojects.jar - - name: Run build script - run: chmod +x build.sh && ./build.sh -m dev -o macos - - name: Fix permissions - run: sudo xattr -cr ./eclipse/Eclipse.app - - name: Upload artifact - uses: actions/upload-artifact@v4 - with: - name: eclipse-emoflon-macos-dev - path: eclipse-emoflon-macos-dev.zip + # # Build Eclipse eMoflon macOS dev + # build-macos-dev: + # needs: [create-splash-image, collect-github-api-artifacts] + # runs-on: [macos-12] + # steps: + # - name: Start message + # run: echo "Started CI build (Eclipse eMoflon macOS dev)." + # - name: Install dependencies + # run: | + # brew install p7zip coreutils grep wget curl + # - name: Check out repository code + # uses: actions/checkout@v4 + # - name: Download splash image + # uses: actions/download-artifact@v4 + # with: + # name: splash.bmp + # - name: Download emoflon-headless updatesite + # uses: actions/download-artifact@v4 + # with: + # name: emoflon-headless-updatesite.zip + # - name: Move emoflon-headless updatesite + # run: | + # mkdir -p ./tmp/emoflon-headless + # mv emoflon-headless-updatesite.zip ./tmp/emoflon-headless/updatesite.zip + # - name: Download Eclipse import plugin JAR + # uses: actions/download-artifact@v4 + # with: + # name: com.seeq.eclipse.importprojects.jar + # - name: Run build script + # run: chmod +x build.sh && ./build.sh -m dev -o macos + # - name: Fix permissions + # run: sudo xattr -cr ./eclipse/Eclipse.app + # - name: Upload artifact + # uses: actions/upload-artifact@v4 + # with: + # name: eclipse-emoflon-macos-dev + # path: eclipse-emoflon-macos-dev.zip - # Build Eclipse eMoflon macOS dev HiPE - build-macos-dev-hipe: - needs: [create-splash-image, collect-github-api-artifacts] - runs-on: [macos-12] - steps: - - name: Start message - run: echo "Started CI build (Eclipse eMoflon macOS dev HiPE)." - - name: Install dependencies - run: | - brew install p7zip coreutils grep wget curl - - name: Check out repository code - uses: actions/checkout@v4 - - name: Download splash image - uses: actions/download-artifact@v4 - with: - name: splash.bmp - - name: Download emoflon-headless updatesite - uses: actions/download-artifact@v4 - with: - name: emoflon-headless-updatesite.zip - - name: Move emoflon-headless updatesite - run: | - mkdir -p ./tmp/emoflon-headless - mv emoflon-headless-updatesite.zip ./tmp/emoflon-headless/updatesite.zip - - name: Download Eclipse import plugin JAR - uses: actions/download-artifact@v4 - with: - name: com.seeq.eclipse.importprojects.jar - - name: Run build script - run: chmod +x build.sh && ./build.sh -m hipedev -o macos - - name: Fix permissions - run: sudo xattr -cr ./eclipse/Eclipse.app - - name: Upload artifact - uses: actions/upload-artifact@v4 - with: - name: eclipse-emoflon-macos-dev-hipe - path: eclipse-emoflon-macos-dev-hipe.zip + # # Build Eclipse eMoflon macOS dev HiPE + # build-macos-dev-hipe: + # needs: [create-splash-image, collect-github-api-artifacts] + # runs-on: [macos-12] + # steps: + # - name: Start message + # run: echo "Started CI build (Eclipse eMoflon macOS dev HiPE)." + # - name: Install dependencies + # run: | + # brew install p7zip coreutils grep wget curl + # - name: Check out repository code + # uses: actions/checkout@v4 + # - name: Download splash image + # uses: actions/download-artifact@v4 + # with: + # name: splash.bmp + # - name: Download emoflon-headless updatesite + # uses: actions/download-artifact@v4 + # with: + # name: emoflon-headless-updatesite.zip + # - name: Move emoflon-headless updatesite + # run: | + # mkdir -p ./tmp/emoflon-headless + # mv emoflon-headless-updatesite.zip ./tmp/emoflon-headless/updatesite.zip + # - name: Download Eclipse import plugin JAR + # uses: actions/download-artifact@v4 + # with: + # name: com.seeq.eclipse.importprojects.jar + # - name: Run build script + # run: chmod +x build.sh && ./build.sh -m hipedev -o macos + # - name: Fix permissions + # run: sudo xattr -cr ./eclipse/Eclipse.app + # - name: Upload artifact + # uses: actions/upload-artifact@v4 + # with: + # name: eclipse-emoflon-macos-dev-hipe + # path: eclipse-emoflon-macos-dev-hipe.zip # Build Eclipse eMoflon Windows user build-windows-user: @@ -456,91 +456,91 @@ jobs: name: eclipse-emoflon-windows-dev path: eclipse-emoflon-windows-dev.zip - # Build Eclipse eMoflon Windows dev HiPE - build-windows-dev-hipe: - needs: [create-splash-image, collect-github-api-artifacts] - runs-on: [windows-2022] - steps: - - name: Start message - run: echo "Started CI build (Eclipse eMoflon Windows dev HiPE)." - - name: Install dependencies - run: | - choco install wget curl unzip zip --no-progress - - name: Install correct Java version - uses: actions/setup-java@v4 - with: - distribution: 'adopt' - java-version: '16' - - name: Fix Git line endings - run: git config --global core.autocrlf input - - name: Check out repository code - uses: actions/checkout@v4 - - name: Download splash image - uses: actions/download-artifact@v4 - with: - name: splash.bmp - - name: Download emoflon-headless updatesite - uses: actions/download-artifact@v4 - with: - name: emoflon-headless-updatesite.zip - - name: Move emoflon-headless updatesite - run: | - mkdir -p ./tmp/emoflon-headless - mv emoflon-headless-updatesite.zip ./tmp/emoflon-headless/updatesite.zip - - name: Download Eclipse import plugin JAR - uses: actions/download-artifact@v4 - with: - name: com.seeq.eclipse.importprojects.jar - - name: Run build script - run: | - bash ./build.sh -m hipedev -o windows - - name: Upload artifact - uses: actions/upload-artifact@v4 - with: - name: eclipse-emoflon-windows-dev-hipe - path: eclipse-emoflon-windows-dev-hipe.zip + # # Build Eclipse eMoflon Windows dev HiPE + # build-windows-dev-hipe: + # needs: [create-splash-image, collect-github-api-artifacts] + # runs-on: [windows-2022] + # steps: + # - name: Start message + # run: echo "Started CI build (Eclipse eMoflon Windows dev HiPE)." + # - name: Install dependencies + # run: | + # choco install wget curl unzip zip --no-progress + # - name: Install correct Java version + # uses: actions/setup-java@v4 + # with: + # distribution: 'adopt' + # java-version: '16' + # - name: Fix Git line endings + # run: git config --global core.autocrlf input + # - name: Check out repository code + # uses: actions/checkout@v4 + # - name: Download splash image + # uses: actions/download-artifact@v4 + # with: + # name: splash.bmp + # - name: Download emoflon-headless updatesite + # uses: actions/download-artifact@v4 + # with: + # name: emoflon-headless-updatesite.zip + # - name: Move emoflon-headless updatesite + # run: | + # mkdir -p ./tmp/emoflon-headless + # mv emoflon-headless-updatesite.zip ./tmp/emoflon-headless/updatesite.zip + # - name: Download Eclipse import plugin JAR + # uses: actions/download-artifact@v4 + # with: + # name: com.seeq.eclipse.importprojects.jar + # - name: Run build script + # run: | + # bash ./build.sh -m hipedev -o windows + # - name: Upload artifact + # uses: actions/upload-artifact@v4 + # with: + # name: eclipse-emoflon-windows-dev-hipe + # path: eclipse-emoflon-windows-dev-hipe.zip - # Create a release if running on tag - create-release: - needs: [build-linux-user, build-linux-dev, build-linux-user-ci, build-linux-dev-ci, build-linux-dev-hipe, build-macos-user, build-macos-dev, build-macos-dev-hipe, build-windows-user, build-windows-dev, build-windows-dev-hipe] - runs-on: [ubuntu-20.04] - # Only run on pushed tags (and explicitely ignore scheduled runs) - if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && github.event_name != 'schedule' - steps: - - name: Collect artifacts - uses: actions/download-artifact@master - - name: Release eclipse-emoflon-linux - uses: softprops/action-gh-release@v2 - with: - files: | - eclipse-emoflon-linux-user/eclipse-emoflon-linux-user.zip - eclipse-emoflon-linux-dev/eclipse-emoflon-linux-dev.zip - - name: Release eclipse-emoflon-macos - uses: softprops/action-gh-release@v2 - with: - files: | - eclipse-emoflon-macos-user/eclipse-emoflon-macos-user.zip - eclipse-emoflon-macos-dev/eclipse-emoflon-macos-dev.zip - - name: Release eclipse-emoflon-linux-ci - uses: softprops/action-gh-release@v2 - with: - files: | - eclipse-emoflon-linux-user-ci/eclipse-emoflon-linux-user-ci.zip - eclipse-emoflon-linux-dev-ci/eclipse-emoflon-linux-dev-ci.zip - - name: Release eclipse-emoflon-windows - uses: softprops/action-gh-release@v2 - with: - files: | - eclipse-emoflon-windows-user/eclipse-emoflon-windows-user.zip - eclipse-emoflon-windows-dev/eclipse-emoflon-windows-dev.zip - - name: Release eclipse-emoflon-dev-hipe-1 - uses: softprops/action-gh-release@v2 - with: - files: | - eclipse-emoflon-linux-dev-hipe/eclipse-emoflon-linux-dev-hipe.zip - eclipse-emoflon-windows-dev-hipe/eclipse-emoflon-windows-dev-hipe.zip - - name: Release eclipse-emoflon-dev-hipe-2 - uses: softprops/action-gh-release@v2 - with: - files: | - eclipse-emoflon-macos-dev-hipe/eclipse-emoflon-macos-dev-hipe.zip + # # Create a release if running on tag + # create-release: + # needs: [build-linux-user, build-linux-dev, build-linux-user-ci, build-linux-dev-ci, build-linux-dev-hipe, build-macos-user, build-macos-dev, build-macos-dev-hipe, build-windows-user, build-windows-dev, build-windows-dev-hipe] + # runs-on: [ubuntu-20.04] + # # Only run on pushed tags (and explicitely ignore scheduled runs) + # if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && github.event_name != 'schedule' + # steps: + # - name: Collect artifacts + # uses: actions/download-artifact@master + # - name: Release eclipse-emoflon-linux + # uses: softprops/action-gh-release@v2 + # with: + # files: | + # eclipse-emoflon-linux-user/eclipse-emoflon-linux-user.zip + # eclipse-emoflon-linux-dev/eclipse-emoflon-linux-dev.zip + # - name: Release eclipse-emoflon-macos + # uses: softprops/action-gh-release@v2 + # with: + # files: | + # eclipse-emoflon-macos-user/eclipse-emoflon-macos-user.zip + # eclipse-emoflon-macos-dev/eclipse-emoflon-macos-dev.zip + # - name: Release eclipse-emoflon-linux-ci + # uses: softprops/action-gh-release@v2 + # with: + # files: | + # eclipse-emoflon-linux-user-ci/eclipse-emoflon-linux-user-ci.zip + # eclipse-emoflon-linux-dev-ci/eclipse-emoflon-linux-dev-ci.zip + # - name: Release eclipse-emoflon-windows + # uses: softprops/action-gh-release@v2 + # with: + # files: | + # eclipse-emoflon-windows-user/eclipse-emoflon-windows-user.zip + # eclipse-emoflon-windows-dev/eclipse-emoflon-windows-dev.zip + # - name: Release eclipse-emoflon-dev-hipe-1 + # uses: softprops/action-gh-release@v2 + # with: + # files: | + # eclipse-emoflon-linux-dev-hipe/eclipse-emoflon-linux-dev-hipe.zip + # eclipse-emoflon-windows-dev-hipe/eclipse-emoflon-windows-dev-hipe.zip + # - name: Release eclipse-emoflon-dev-hipe-2 + # uses: softprops/action-gh-release@v2 + # with: + # files: | + # eclipse-emoflon-macos-dev-hipe/eclipse-emoflon-macos-dev-hipe.zip diff --git a/build.sh b/build.sh index 8c6c2a2..9f7eabf 100755 --- a/build.sh +++ b/build.sh @@ -42,7 +42,8 @@ IMPORT_PLUGIN_FILENAME="com.seeq.eclipse.importprojects_$IMPORT_PLUGIN_VERSION.j IMPORT_PLUGIN_SRC="https://api.github.com/repos/maxkratz/eclipse-import-projects-plugin/releases/tags/v$IMPORT_PLUGIN_VERSION" # Array with the order to install the plugins with. -ORDER_LINUX=("xtext" "plantuml" "hipe" "kermeta" "misc" "emoflon-headless" "emoflon" "theme" "additional") +# ORDER_LINUX=("xtext" "plantuml" "hipe" "kermeta" "misc" "emoflon-headless" "emoflon" "theme" "additional") +ORDER_LINUX=("xtext") # # Configure OS specific details