From 78d5992a63b86e4942540726f9ebfe39fbc24756 Mon Sep 17 00:00:00 2001 From: Nikolay Bogoychev Date: Mon, 6 May 2024 21:59:25 +0100 Subject: [PATCH] Disable arm runner We don't currently have an arm runner so we should disable it... --- .github/workflows/build.yml | 96 ++++++++++++++++++------------------- 1 file changed, 48 insertions(+), 48 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8636aac..d129450 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -295,63 +295,63 @@ jobs: name: translateLocally.latest.${{ matrix.os }}.${{ matrix.arch }}.deb path: ${{github.workspace}}/build/deb/*.deb - build-arm: - strategy: - matrix: - include: - - name: "Ubuntu 22.04 ARM" - os: ubuntu-22.04 - arch: "aarch64" - runs-on: self-hosted + # build-arm: + # strategy: + # matrix: + # include: + # - name: "Ubuntu 22.04 ARM" + # os: ubuntu-22.04 + # arch: "aarch64" + # runs-on: self-hosted - steps: - - name: Checkout - uses: actions/checkout@v3 - with: - submodules: recursive + # steps: + # - name: Checkout + # uses: actions/checkout@v3 + # with: + # submodules: recursive - - name: Dependencies - run: sudo apt-get install -y libxkbcommon-x11-dev libpcre++-dev libvulkan-dev libgl1-mesa-dev qt6-base-dev qt6-base-dev-tools qt6-tools-dev qt6-tools-dev-tools qt6-l10n-tools qt6-translations-l10n libqt6svg6-dev libarchive-dev libpcre2-dev + # - name: Dependencies + # run: sudo apt-get install -y libxkbcommon-x11-dev libpcre++-dev libvulkan-dev libgl1-mesa-dev qt6-base-dev qt6-base-dev-tools qt6-tools-dev qt6-tools-dev-tools qt6-l10n-tools qt6-translations-l10n libqt6svg6-dev libarchive-dev libpcre2-dev - - name: Create Build Environment - # Some projects don't allow in-source building, so create a separate build directory - # We'll use this as our working directory for all subsequent commands - run: cmake -E make_directory ${{github.workspace}}/build + # - name: Create Build Environment + # # Some projects don't allow in-source building, so create a separate build directory + # # We'll use this as our working directory for all subsequent commands + # run: cmake -E make_directory ${{github.workspace}}/build - - name: Configure CMake - # Use a bash shell so we can use the same syntax for environment variable - # access regardless of the host operating system - shell: bash - working-directory: ${{github.workspace}}/build - run: cmake $GITHUB_WORKSPACE + # - name: Configure CMake + # # Use a bash shell so we can use the same syntax for environment variable + # # access regardless of the host operating system + # shell: bash + # working-directory: ${{github.workspace}}/build + # run: cmake $GITHUB_WORKSPACE - - name: Fix Arm build - # Not sure what the path is here but it should be something like - run: $GITHUB_WORKSPACE/cmake/fix_ruy_build.sh $GITHUB_WORKSPACE ${{github.workspace}}/build + # - name: Fix Arm build + # # Not sure what the path is here but it should be something like + # run: $GITHUB_WORKSPACE/cmake/fix_ruy_build.sh $GITHUB_WORKSPACE ${{github.workspace}}/build - - name: Build - working-directory: ${{github.workspace}}/build - shell: bash - # Execute the build. You can specify a specific target with "--target " - run: cmake --build . -j4 + # - name: Build + # working-directory: ${{github.workspace}}/build + # shell: bash + # # Execute the build. You can specify a specific target with "--target " + # run: cmake --build . -j4 - - name: Output test # @TODO some more complicated test, perhaps a unit test - working-directory: ${{github.workspace}}/build - shell: bash - run: ./translateLocally --version + # - name: Output test # @TODO some more complicated test, perhaps a unit test + # working-directory: ${{github.workspace}}/build + # shell: bash + # run: ./translateLocally --version - - name: Package # Produce a .deb file using cpack - working-directory: ${{github.workspace}}/build - shell: bash - run: | - cpack - ls deb/*.deb - dpkg -I deb/*.deb + # - name: Package # Produce a .deb file using cpack + # working-directory: ${{github.workspace}}/build + # shell: bash + # run: | + # cpack + # ls deb/*.deb + # dpkg -I deb/*.deb - - uses: actions/upload-artifact@v3 - with: - name: translateLocally.latest.${{ matrix.os }}.${{ matrix.arch }}.deb - path: ${{github.workspace}}/build/deb/*.deb + # - uses: actions/upload-artifact@v3 + # with: + # name: translateLocally.latest.${{ matrix.os }}.${{ matrix.arch }}.deb + # path: ${{github.workspace}}/build/deb/*.deb build-windows: strategy: