Skip to content

Commit

Permalink
514P-263: added debugging for the binary
Browse files Browse the repository at this point in the history
  • Loading branch information
jmsuzuki committed Feb 13, 2025
1 parent 8e1a9b4 commit 204595e
Showing 1 changed file with 31 additions and 24 deletions.
55 changes: 31 additions & 24 deletions .github/workflows/release-cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -238,30 +238,30 @@ jobs:
cargo set-version ${{ needs.version.outputs.version }}
working-directory: ./apps/framework-cli

# - name: Build wheels
# uses: PyO3/maturin-action@v1
# with:
# target: ${{ matrix.build.TARGET }}
# args: --release --features rdkafka/cmake-build --locked --target ${{ matrix.build.TARGET }} --out dist
# sccache: "true"
# # https://github.com/briansmith/ring/issues/1728#issuecomment-1758180655
# manylinux: ${{ matrix.build.TARGET == 'aarch64-unknown-linux-gnu' && '2_28' || '' }}
# working-directory: ./apps/framework-cli
# # When running on manylinux we are inside a docker container and need to install protoc
# before-script-linux: |
# if [ -f /.dockerenv ]; then
# echo "Running in Docker container, installing required dependencies..."
# PROTOC_VERSION=24.3
# PROTOC_ZIP=protoc-$PROTOC_VERSION-linux-x86_64.zip

# apt install -y curl unzip
# mkdir -p /usr/local/bin
# mkdir -p /usr/local/include
# curl -OL https://github.com/protocolbuffers/protobuf/releases/download/v$PROTOC_VERSION/$PROTOC_ZIP
# unzip -o $PROTOC_ZIP -d /usr/local bin/protoc
# unzip -o $PROTOC_ZIP -d /usr/local 'include/*'
# rm -f $PROTOC_ZIP
# fi
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.build.TARGET }}
args: --release --features rdkafka/cmake-build --locked --target ${{ matrix.build.TARGET }} --out dist
sccache: "true"
# https://github.com/briansmith/ring/issues/1728#issuecomment-1758180655
manylinux: ${{ matrix.build.TARGET == 'aarch64-unknown-linux-gnu' && '2_28' || '' }}
working-directory: ./apps/framework-cli
# When running on manylinux we are inside a docker container and need to install protoc
before-script-linux: |
if [ -f /.dockerenv ]; then
echo "Running in Docker container, installing required dependencies..."
PROTOC_VERSION=24.3
PROTOC_ZIP=protoc-$PROTOC_VERSION-linux-x86_64.zip
apt install -y curl unzip
mkdir -p /usr/local/bin
mkdir -p /usr/local/include
curl -OL https://github.com/protocolbuffers/protobuf/releases/download/v$PROTOC_VERSION/$PROTOC_ZIP
unzip -o $PROTOC_ZIP -d /usr/local bin/protoc
unzip -o $PROTOC_ZIP -d /usr/local 'include/*'
rm -f $PROTOC_ZIP
fi
# - name: Upload wheels
# uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -293,6 +293,13 @@ jobs:
# artifacts: |
# ./target/${{ matrix.build.TARGET }}/release/moose-cli-${{ matrix.build.TARGET }}

- name: Debug binary location
run: |
pwd
ls -la .
ls -la target/${{ matrix.build.TARGET }}/release/
file target/${{ matrix.build.TARGET }}/release/moose-cli
- name: Sign binaries
uses: ./.github/actions/sign-binaries
with:
Expand Down

0 comments on commit 204595e

Please sign in to comment.