Skip to content

Commit

Permalink
Disable arm runner
Browse files Browse the repository at this point in the history
We don't currently have an arm runner so we should disable it...
  • Loading branch information
XapaJIaMnu authored May 6, 2024
1 parent a210037 commit 78d5992
Showing 1 changed file with 48 additions and 48 deletions.
96 changes: 48 additions & 48 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <NAME>"
run: cmake --build . -j4
# - name: Build
# working-directory: ${{github.workspace}}/build
# shell: bash
# # Execute the build. You can specify a specific target with "--target <NAME>"
# 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:
Expand Down

0 comments on commit 78d5992

Please sign in to comment.