Skip to content

Commit

Permalink
Use uname -m.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Minaev committed Aug 23, 2023
1 parent da4669e commit c66e20e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/attach_to_process.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,10 @@ jobs:
- uses: actions/checkout@v3

- name: Clean up old binaries
shell: powershell
run: rm ${{ env.PYDEVD_ATTACH_TO_PROCESS }}\* -include *.exe,*.dll,*.pdb

- name: Compile binaries
run: .\compile_windows.bat
run: ${{ env.PYDEVD_ATTACH_TO_PROCESS }}\compile_windows.bat

- name: Upload binaries
uses: actions/upload-artifact@v3
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
set -e

ARCH="$(uname -i)"
ARCH="$(uname -m)"
case $ARCH in
i686) SUFFIX=x86;;
x86_64) SUFFIX=amd64;;
i*86) SUFFIX=x86;;
x86_64*) SUFFIX=amd64;;
*) echo >&2 "unsupported: $ARCH"; exit 1;;
esac

Expand Down

0 comments on commit c66e20e

Please sign in to comment.