@@ -592,27 +592,31 @@ jobs:
592592 - x86_64-unknown-linux-musl
593593 - aarch64-unknown-linux-gnu
594594 include :
595- - target : x86_64-unknown-linux-gnu
596- os : ubuntu-24.04
595+ # Please use minimal possible version of ubuntu, because it produces constraint on glibc
596+ - os : ubuntu-22.04
597+ target : x86_64-unknown-linux-gnu
598+ image : cubejs/rust-cross:x86_64-unknown-linux-gnu-15082024
597599 executable_name : cubestored
598600 strip : true
599601 compress : false
600- - target : x86_64-unknown-linux-musl
601- os : ubuntu-24.04
602+ - os : ubuntu-22.04
603+ target : x86_64-unknown-linux-musl
604+ image : cubejs/rust-cross:x86_64-unknown-linux-musl-15082024
602605 executable_name : cubestored
603606 strip : true
604607 # cubestored: CantPackException: bad DT_HASH nbucket=0x344 len=0x1890
605608 compress : false
606- - target : aarch64-unknown-linux-gnu
607- os : ubuntu-24.04
609+ - os : ubuntu-24.04-arm
610+ image : cubejs/rust-builder:bullseye-llvm-18
611+ target : aarch64-unknown-linux-gnu
608612 executable_name : cubestored
609613 # Unable to recognise the format of the input file `rust/cubestore/target/aarch64-unknown-linux-gnu/release/cubestored'
610614 strip : false
611615 # UPX is broken, issue https://github.com/cube-js/cube/issues/4474
612616 compress : false
613617 fail-fast : false
614618 container :
615- image : cubejs/rust-cross: ${{ matrix.target }}-15082024
619+ image : ${{ matrix.image }}
616620 permissions :
617621 contents : write
618622 steps :
@@ -628,7 +632,7 @@ jobs:
628632 - uses : Swatinem/rust-cache@v2
629633 with :
630634 workspaces : ./rust/cubestore -> target
631- prefix-key : v0 -rust-cubestore-cross
635+ prefix-key : v1 -rust-cubestore-cross
632636 key : target-${{ matrix.target }}
633637 - name : Build with Cargo
634638 run : |
0 commit comments