diff --git a/.github/workflows/release-linux.yml b/.github/workflows/release-linux.yml index 635af96..b837718 100644 --- a/.github/workflows/release-linux.yml +++ b/.github/workflows/release-linux.yml @@ -13,7 +13,7 @@ on: jobs: build_linux: name: Build Linux - runs-on: ${{ matrix.arch == 'x64' && 'ubuntu-22.04' || 'ubuntu-22.04-arm64-4-core' }} + runs-on: ${{ matrix.arch == 'x64' && 'ubuntu-24.04' || 'ubuntu-24-arm64-4-core' }} timeout-minutes: 60 env: @@ -39,8 +39,10 @@ jobs: - name: Setup Zig Build Environment run: | cargo install --locked cargo-zigbuild - sudo apt install python3-pip - pip3 install ziglang + sudo apt-get install -y python3-pip + # Ubuntu 24.04 marks the system Python as externally managed (PEP 668); + # this runner is ephemeral, so installing into it directly is fine. + pip3 install --break-system-packages ziglang - name: Setup Build Environment for arm64 if: matrix.arch == 'arm64' diff --git a/Cargo.lock b/Cargo.lock index 7254f09..b709da2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1243,7 +1243,7 @@ dependencies = [ [[package]] name = "kcserver" -version = "0.1.75" +version = "0.1.76" dependencies = [ "anyhow", "async-channel", diff --git a/crates/kcserver/Cargo.toml b/crates/kcserver/Cargo.toml index 586263d..6dff8eb 100644 --- a/crates/kcserver/Cargo.toml +++ b/crates/kcserver/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kcserver" -version = "0.1.75" +version = "0.1.76" rust-version.workspace = true edition.workspace = true license.workspace = true diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 0000000..2758618 --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,2 @@ +[toolchain] +channel = "1.99"