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 699613a commit 87c6ec2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/sandbox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ jobs:
- name: Check python
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'))"
& '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"
Expand Down

0 comments on commit 87c6ec2

Please sign in to comment.