From 82573de2232bec8bf82f5ca31642be2b64264fa7 Mon Sep 17 00:00:00 2001 From: UsualSpec <98665326+UsualSpec@users.noreply.github.com> Date: Fri, 24 Jan 2025 14:05:01 +0100 Subject: [PATCH] Try switching over to native arm runner --- .github/workflows/main.yaml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 79636fb..427814a 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -2,20 +2,16 @@ name: CI Client builder on: [workflow_dispatch] jobs: build: - runs-on: ubuntu-24.04 + runs-on: ubuntu-24.04-arm steps: - uses: actions/checkout@v4 - - uses: pguyot/arm-runner-action@v2 - with: - image_additional_mb: 8192 - base_image: raspios_lite_arm64:latest - bind_mount_repository: true - copy_artifact_path: client/cmake/build/mmclient - copy_artifact_dest: ${{ github.workspace }} - commands: | + - name: "Update System and install dependencies" + run: | # update system and install dependencies apt update apt install -y cmake git build-essential autoconf libtool pkg-config libjsoncpp-dev libpqxx-dev libboost-all-dev + - name: "Compile gRPC" + run: | # Compile gRPC export MY_INSTALL_DIR=$HOME/.local mkdir -p $MY_INSTALL_DIR @@ -30,6 +26,8 @@ jobs: ../.. make -j 2 make install + - name: "Compile client" + run: | # Compile client cd ../../../client chmod +x genCppProto.sh