Skip to content

Commit

Permalink
Add Ubuntu ARM CI runner
Browse files Browse the repository at this point in the history
  • Loading branch information
albinahlback committed Mar 5, 2025
1 parent 8e38823 commit c328c4f
Showing 1 changed file with 58 additions and 0 deletions.
58 changes: 58 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,64 @@ jobs:
##############################################################################
# ubuntu arm
##############################################################################
ubuntu-arm:
name: Ubuntu ARM (x5)

runs-on: ubuntu-24.04-arm

env:
CC: "gcc"
FLINT_TEST_MULTIPLIER: "5"

steps:
- name: "Rescale multiplier"
run: |
FLINT_TEST_MULTIPLIER=$(echo "${FLINT_TEST_MULTIPLIER} * ${GLOBAL_MULTIPLIER}" | bc)
echo "FLINT_TEST_MULTIPLIER=${FLINT_TEST_MULTIPLIER}"
echo "FLINT_TEST_MULTIPLIER=${FLINT_TEST_MULTIPLIER}" >> $GITHUB_ENV
- uses: actions/checkout@v4

- name: "Setup"
run: |
sudo apt-get install -y \
libgmp-dev \
libmpfr-dev \
autoconf \
libtool-bin
# Check versions
gcc --version
make --version
autoconf --version
libtool --version
echo "MAKE=make -j$(expr $(nproc) + 1) --output-sync=target" >> $GITHUB_ENV
- name: "Configure"
run: |
./bootstrap.sh
./configure \
CC=${CC} \
--disable-debug
- name: "Compile library"
run: |
$MAKE
ldd libflint.so
- name: "Compile tests"
run: |
$MAKE tests
- name: "Check"
run: |
$MAKE check
##############################################################################
# macos (M1) with clang
##############################################################################
Expand Down

0 comments on commit c328c4f

Please sign in to comment.