From e4bf08c16155ea6292b529e722e284f66cfc4510 Mon Sep 17 00:00:00 2001 From: Haseeb Afzal Date: Thu, 18 Dec 2025 14:01:56 -0500 Subject: [PATCH 1/3] added debian 11 docker build for linux amd64 --- .github/workflows/release.yml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 36ad321..478c65f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,8 +40,8 @@ jobs: with: fetch-depth: 0 - - name: Install Linux dependencies - if: runner.os == 'Linux' + - name: Install Linux ARM64 dependencies + if: matrix.platform.name == 'linux-arm64' run: | sudo apt update sudo apt install -y build-essential pkg-config libclang-dev cmake libssl-dev @@ -66,7 +66,20 @@ jobs: echo "OPENSSL_ROOT_DIR=C:\msys64\mingw64" >> $env:GITHUB_ENV echo "CARGO_TARGET_DIR=C:\t" >> $env:GITHUB_ENV + - name: Debian 11 build + if: matrix.platform.name == 'linux-amd64' + run: | + docker run --rm -v ${{ github.workspace }}:/workspace -w /workspace/post-quantum-client-testing debian:11 bash -c " + apt-get update && + apt-get install -y curl build-essential pkg-config libclang-dev cmake libssl-dev && + curl https://sh.rustup.rs -sSf | sh -s -- -y && + source /root/.cargo/env && + rustup target add x86_64-unknown-linux-gnu && + cargo build --release --target x86_64-unknown-linux-gnu + " + - name: Build the binary + if: matrix.platform.name != 'linux-amd64' working-directory: post-quantum-client-testing run: | cargo build --release --target ${{ matrix.platform.target }} From 664006d361fc1c0a9dcc3a342785722e3e6e4c09 Mon Sep 17 00:00:00 2001 From: Haseeb Afzal Date: Thu, 18 Dec 2025 14:31:30 -0500 Subject: [PATCH 2/3] added arm64 debian 11 release build --- .github/workflows/release.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 478c65f..ca7898e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -66,7 +66,7 @@ jobs: echo "OPENSSL_ROOT_DIR=C:\msys64\mingw64" >> $env:GITHUB_ENV echo "CARGO_TARGET_DIR=C:\t" >> $env:GITHUB_ENV - - name: Debian 11 build + - name: Debian 11 amd64 build if: matrix.platform.name == 'linux-amd64' run: | docker run --rm -v ${{ github.workspace }}:/workspace -w /workspace/post-quantum-client-testing debian:11 bash -c " @@ -78,8 +78,20 @@ jobs: cargo build --release --target x86_64-unknown-linux-gnu " + - name: Debian 11 arm64 Build + if: matrix.platform.name == 'linux-arm64' + run: | + docker run --rm -v ${{ github.workspace }}:/workspace -w /workspace/post-quantum-client-testing debian:11 bash -c " + apt-get update && + apt-get install -y curl build-essential pkg-config libclang-dev cmake libssl-dev && + curl https://sh.rustup.rs -sSf | sh -s -- -y && + source /root/.cargo/env && + rustup target add aarch64-unknown-linux-gnu && + cargo build --release --target aarch64-unknown-linux-gnu + " + - name: Build the binary - if: matrix.platform.name != 'linux-amd64' + if: runner.os != 'Linux' working-directory: post-quantum-client-testing run: | cargo build --release --target ${{ matrix.platform.target }} From 9291cdc3d8d5a224d70503c3c8c703ae90fe7897 Mon Sep 17 00:00:00 2001 From: Haseeb Afzal Date: Thu, 18 Dec 2025 14:37:36 -0500 Subject: [PATCH 3/3] removed leftover arm dependencies --- .github/workflows/release.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ca7898e..14e696c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,12 +40,6 @@ jobs: with: fetch-depth: 0 - - name: Install Linux ARM64 dependencies - if: matrix.platform.name == 'linux-arm64' - run: | - sudo apt update - sudo apt install -y build-essential pkg-config libclang-dev cmake libssl-dev - - name: Install MacOS dependencies if: runner.os == 'macOS' run: |