diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 6fbf4043c..4b03fa7f1 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -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 @@ -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 }}