Skip to content

Commit

Permalink
Try switching over to native arm runner
Browse files Browse the repository at this point in the history
  • Loading branch information
UsualSpec committed Jan 24, 2025
1 parent d870f26 commit 82573de
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -30,6 +26,8 @@ jobs:
../..
make -j 2
make install
- name: "Compile client"
run: |
# Compile client
cd ../../../client
chmod +x genCppProto.sh
Expand Down

0 comments on commit 82573de

Please sign in to comment.