Skip to content

Commit

Permalink
Move env
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Minaev committed Aug 23, 2023
1 parent 799ac95 commit 7a768f5
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/attach_to_process.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,6 @@ jobs:
- arch: amd64
container-image: quay.io/pypa/manylinux2014_x86_64

env:
CONTAINER_IMAGE: ${{ matrix.container-image }}
INPUT_FILE: ${{ env.PYDEVD_ATTACH_TO_PROCESS }}/linux_and_mac/attach.cpp
OUTPUT_FILE: ${{ env.PYDEVD_ATTACH_TO_PROCESS }}/attach_linux_${{ matrix.arch }}.so

steps:
- uses: actions/checkout@v3

Expand All @@ -76,6 +71,10 @@ jobs:

- name: Compile binaries
uses: docker://${{ env.CONTAINER_IMAGE }}
env:
CONTAINER_IMAGE: ${{ matrix.container-image }}
INPUT_FILE: ${{ env.PYDEVD_ATTACH_TO_PROCESS }}/linux_and_mac/attach.cpp
OUTPUT_FILE: ${{ env.PYDEVD_ATTACH_TO_PROCESS }}/attach_linux_${{ matrix.arch }}.so
with:
args: g++ -std=c++11 -shared -fPIC -nostartfiles $GITHUB_WORKSPACE/$INPUT_FILE -o $GITHUB_WORKSPACE/$OUTPUT_FILE

Expand Down

0 comments on commit 7a768f5

Please sign in to comment.