Skip to content

Commit

Permalink
Update sandbox.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mayeut committed Aug 26, 2023
1 parent 87c6ec2 commit 8769888
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/sandbox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ jobs:
with:
dotnet-version: 6.x
- name: Check python
shell: bash
run: |
choco install ironpython
$ErrorActionPreference = "Stop"
& 'C:\ProgramData\chocolatey\lib\ironpython\ipy.exe' -c "import sys; print(sys.maxsize)"
& 'C:\ProgramData\chocolatey\lib\ironpython\ipy.exe' -c "import struct; print(struct.calcsize('P'))"
& 'C:\ProgramData\chocolatey\lib\ironpython\ipy32.exe' -c "import sys; print(sys.maxsize)"
& 'C:\ProgramData\chocolatey\lib\ironpython\ipy32.exe' -c "import struct; print(struct.calcsize('P'))"
ipy.exe -c "import sys; print(sys.maxsize)"
ipy.exe -c "import struct; print(struct.calcsize('P'))"
ipy32.exe -c "import sys; print(sys.maxsize)"
ipy32.exe -c "import struct; print(struct.calcsize('P'))"
& 'C:\ProgramData\chocolatey\lib\ironpython\ipy.exe' -c "import sys; assert sys.maxsize == 9223372036854775807"
& 'C:\ProgramData\chocolatey\lib\ironpython\ipy.exe' -c "import struct; assert struct.calcsize('P') == 8"
& 'C:\ProgramData\chocolatey\lib\ironpython\ipy32.exe' -c "import sys; assert sys.maxsize == 2147483647"
& 'C:\ProgramData\chocolatey\lib\ironpython\ipy32.exe' -c "import struct; assert struct.calcsize('P') == 4"
ipy.exe -c "import sys; assert sys.maxsize == 2147483647"
ipy.exe -c "import struct; assert struct.calcsize('P') == 7"
ipy32.exe -c "import sys; assert sys.maxsize == 2147483647"
ipy32.exe -c "import struct; assert struct.calcsize('P') == 4"

0 comments on commit 8769888

Please sign in to comment.