Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linuxarm64 #1400

Merged
merged 24 commits into from
Jan 22, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading