Skip to content

Commit

Permalink
Linuxarm64 (#1400)
Browse files Browse the repository at this point in the history
* develop linux arm64 build
* use vg 3.24.0 from ppa
  • Loading branch information
tsteven4 authored Jan 22, 2025
1 parent fd37f27 commit 2ef6625
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,31 @@ jobs:
fi
"${JOB_SCRIPT}"
ubuntu-arm:
name: ubuntu ARM Build
runs-on: ubuntu-24.04-arm

steps:
- name: Install
run: |
# valgrind 1:3.22.0-0ubuntu3 and 3.23.0 have rounding problems with arm64 and our igc format.
# These are resolved in valgrind 3.24.0 which is in my ppa as 1:3.24.0-0ubuntu1~noble11.
sudo add-apt-repository ppa:tsteven4/valgrind-backports
sudo apt-get update
sudo apt-get install valgrind expat libxml2-utils
sudo apt-get install fop xsltproc docbook-xml docbook5-xml docbook-xsl docbook-xsl-ns libavalon-framework-java jing
sudo apt-get install libusb-1.0-0-dev libudev-dev
sudo apt-get install qt6-base-dev qt6-5compat-dev qt6-serialport-dev libx11-xcb-dev libxkbcommon-dev qt6-tools-dev qt6-translations-l10n qt6-webengine-dev qt6-wayland
- name: Checkout repository
uses: actions/checkout@v4

- name: build_and_test
run: |
# when using containers manually whitelist the checkout directory to allow git commands to work
git config --global --add safe.directory "${GITHUB_WORKSPACE}"
./tools/build_and_test_cmake.sh
coverage:
name: coverage Build
runs-on: ubuntu-latest
Expand Down Expand Up @@ -115,7 +140,7 @@ jobs:
export GBTEMP=$(pwd)/gbtemp
mkdir -p "$GBTEMP"
/snap/bin/gpsbabel -D3 || true
./testo -p /snap/bin/gpsbabel
./testo -p /snap/bin/gpsbabel
- name: Generate artifact attestation
if: ${{ inputs.attestation }}
Expand Down

0 comments on commit 2ef6625

Please sign in to comment.