@@ -590,27 +590,31 @@ jobs:
590590 - x86_64-unknown-linux-musl
591591 - aarch64-unknown-linux-gnu
592592 include :
593- - target : x86_64-unknown-linux-gnu
594- os : ubuntu-24.04
593+ # Please use minimal possible version of ubuntu, because it produces constraint on glibc
594+ - os : ubuntu-22.04
595+ target : x86_64-unknown-linux-gnu
596+ image : cubejs/rust-cross:x86_64-unknown-linux-gnu-15082024
595597 executable_name : cubestored
596598 strip : true
597599 compress : false
598- - target : x86_64-unknown-linux-musl
599- os : ubuntu-24.04
600+ - os : ubuntu-22.04
601+ target : x86_64-unknown-linux-musl
602+ image : cubejs/rust-cross:x86_64-unknown-linux-musl-15082024
600603 executable_name : cubestored
601604 strip : true
602605 # cubestored: CantPackException: bad DT_HASH nbucket=0x344 len=0x1890
603606 compress : false
604- - target : aarch64-unknown-linux-gnu
605- os : ubuntu-24.04
607+ - os : ubuntu-24.04-arm
608+ image : cubejs/rust-builder:bullseye-llvm-18
609+ target : aarch64-unknown-linux-gnu
606610 executable_name : cubestored
607611 # Unable to recognise the format of the input file `rust/cubestore/target/aarch64-unknown-linux-gnu/release/cubestored'
608612 strip : false
609613 # UPX is broken, issue https://github.com/cube-js/cube/issues/4474
610614 compress : false
611615 fail-fast : false
612616 container :
613- image : cubejs/rust-cross: ${{ matrix.target }}-15082024
617+ image : ${{ matrix.image }}
614618 permissions :
615619 contents : write
616620 steps :
@@ -626,7 +630,7 @@ jobs:
626630 - uses : Swatinem/rust-cache@v2
627631 with :
628632 workspaces : ./rust/cubestore -> target
629- prefix-key : v0 -rust-cubestore-cross
633+ prefix-key : v1 -rust-cubestore-cross
630634 key : target-${{ matrix.target }}
631635 - name : Build with Cargo
632636 run : |
0 commit comments