Skip to content

Update CI runners to Ubuntu 24.04 and macOS Sonoma#3208

Merged
itchyny merged 1 commit intojqlang:masterfrom
itchyny:action-runner-ubuntu-24.04-macos-14
May 17, 2025
Merged

Update CI runners to Ubuntu 24.04 and macOS Sonoma#3208
itchyny merged 1 commit intojqlang:masterfrom
itchyny:action-runner-ubuntu-24.04-macos-14

Conversation

@itchyny
Copy link
Contributor

@itchyny itchyny commented Nov 20, 2024

No description provided.

@itchyny itchyny marked this pull request as draft November 20, 2024 13:26
@itchyny itchyny force-pushed the action-runner-ubuntu-24.04-macos-14 branch from 324549f to 7cd7836 Compare November 20, 2024 13:41
@wader
Copy link
Member

wader commented Nov 20, 2024

Strange build error on i386 🤔

@itchyny
Copy link
Contributor Author

itchyny commented Dec 2, 2024

I was debugging on an EC2 instance and found -static with -lm not working. I don't know why.

~/jq$ i686-linux-gnu-gcc -Wextra -Wall -Wno-unused-parameter -Wno-unused-function -Woverlength-strings -I./modules/oniguruma/src -O2 -fstack-protector-all -static -o jq src/main.o ./.libs/libjq.a -L./modules/oniguruma/src /home/ubuntu/jq/modules/oniguruma/src/.libs/libonig.a -lm -lpthread -pthread
/usr/lib/gcc-cross/i686-linux-gnu/13/../../../../i686-linux-gnu/bin/ld: ./.libs/libjq.a(builtin.o): in function `f_fmod':
builtin.c:(.text+0x82d9): undefined reference to `fmod'
/usr/lib/gcc-cross/i686-linux-gnu/13/../../../../i686-linux-gnu/bin/ld: ./.libs/libjq.a(builtin.o): in function `f_exp10':
builtin.c:(.text+0x8e41): undefined reference to `exp10'
collect2: error: ld returned 1 exit status
~/jq$ i686-linux-gnu-gcc -Wextra -Wall -Wno-unused-parameter -Wno-unused-function -Woverlength-strings -I./modules/oniguruma/src -O2 -fstack-protector-all -o jq src/main.o ./.libs/libjq.a -L./modules/oniguruma/src /home/ubuntu/jq/modules/oniguruma/src/.libs/libonig.a -lm -lpthread -pthread
~/jq$ echo $?
0
~/jq$ file jq
jq: ELF 32-bit LSB pie executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, BuildID[sha1]=061e74870e1e3751b68a2cb3b20c5c48b32dc0df, for GNU/Linux 3.2.0, not stripped

@wader
Copy link
Member

wader commented Dec 3, 2024

@itchyny
Copy link
Contributor Author

itchyny commented Dec 3, 2024

Thanks, that's it!

@itchyny itchyny force-pushed the action-runner-ubuntu-24.04-macos-14 branch from 7cd7836 to d17e6ef Compare January 15, 2025 07:01
cp ./jq jq-${{ env.SUFFIX }}
- name: Test
# Only run tests for amd64 matching the CI machine arch
if: ${{ matrix.arch == 'amd64' }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did we skip before? was slow?

@itchyny
Copy link
Contributor Author

itchyny commented Jan 15, 2025

We still need to wait for action runner updates for glib.

@wader
Copy link
Member

wader commented Jan 15, 2025

We still need to wait for action runner updates for glib.

glibc?

aha and now i noticed it still fails for i386

@itchyny itchyny force-pushed the action-runner-ubuntu-24.04-macos-14 branch 2 times, most recently from 11dc8a0 to 805b3d1 Compare May 16, 2025 20:03
@itchyny itchyny marked this pull request as ready for review May 16, 2025 20:05
@itchyny itchyny merged commit ecea2d2 into jqlang:master May 17, 2025
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments