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 7da721f commit 4d11605
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/sandbox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,9 @@ jobs:
python-version: "${{ matrix.python }}"
allow-prereleases: true
- name: Check 64b python
shell: bash
run: |
set -euxo pipefail
python -c "import sys; assert sys.maxsize == 9223372036854775807"
python -c "import struct; assert struct.calcsize('P') == 8"
Expand All @@ -158,7 +160,9 @@ jobs:
allow-prereleases: true
architecture: x86
- name: Check 32b python
shell: bash
run: |
set -euxo pipefail
python -c "import sys; assert sys.maxsize == 2147483647"
python -c "import struct; assert struct.calcsize('P') == 4"
Expand All @@ -171,6 +175,7 @@ jobs:
python-version: "3.11"
- name: Check 32b python
run: |
set -eux
pip install pyodide-build==0.23.4
pyodide venv .venv-pyodide
source .venv-pyodide/bin/activate
Expand Down Expand Up @@ -210,7 +215,7 @@ jobs:
run: |
docker run --platform linux/${{ matrix.platform }} -i --rm pyston/slim:latest /bin/sh << EOF
set -eux
pyston -c "import sys; assert sys.maxsize == 2147483647"
pyston -c "import sys; assert sys.maxsize == 9223372036854775807"
pyston -c "import struct; assert struct.calcsize('P') == 8"
exit 0
EOF
Expand All @@ -227,6 +232,7 @@ jobs:
shell: bash
run: |
choco install ironpython
set -euxo pipefail
ipy.exe -c "import sys; assert sys.maxsize == 2147483647"
ipy.exe -c "import struct; assert struct.calcsize('P') == 8"
ipy32.exe -c "import sys; assert sys.maxsize == 2147483647"
Expand Down

0 comments on commit 4d11605

Please sign in to comment.