jondy is testing Pyarmor #13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: pyarmor-smoke-test | |
run-name: ${{ github.actor }} is testing Pyarmor | |
on: | |
push | |
jobs: | |
test-pack: | |
runs-on: ubuntu-latest | |
steps: | |
- run: pip install pyarmor.cli | |
- run: pip install PyInstaller | |
- run: echo "print('Hello')" > foo.py | |
- run: pyarmor gen --pack onefile foo.py | |
- run: ls -lh dist | |
- run: dist/foo | |
# test-mini-windows: | |
# runs-on: windows-latest | |
# steps: | |
# - run: pip install https://pyarmor.dashingsoft.com/downloads/temp/pyarmor.cli.core-7.6.5-cp39-none-win_amd64.whl | |
# - run: pip install https://pyarmor.dashingsoft.com/downloads/temp/pyarmor.cli-9.1.1.tar.gz | |
# - run: pip install https://pyarmor.dashingsoft.com/downloads/temp/pyarmor.mini-1.1-cp39-none-win_amd64.whl | |
# - run: echo "print('Hello')" > foo.py | |
# - run: pyarmor init -e foo.py | |
# - run: pyarmor build --mini | |
# - run: python dist/foo.py | |
# test-free-threading: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - run: sudo add-apt-repository ppa:deadsnakes | |
# - run: sudo apt-get update | |
# - run: sudo apt-get install python3.13-nogil | |
# - run: wget https://pyarmor.dashingsoft.com/downloads/temp/pyarmor_mini.tar.gz | |
# - run: tar xzf pyarmor_mini.tar.gz | |
# - run: cp -a linux.x86_64/libs/cp3.13t/pyarmor_minit.so pyarmor_mini.so | |
# - run: python3.13t -c "import pyarmor_mini" | |
# - run: wget https://pyarmor.dashingsoft.com/downloads/temp/pyarmor-smoke-test.tar.gz | |
# - run: tar xzf pyarmor-smoke-test.tar.gz | |
# - run: pip install test/pyarmor.cli.core.tar.gz | |
# - run: pip install test/pyarmor.cli.tar.gz | |
# - run: pip install test/pyarmor.mini.tar.gz | |
# - run: pyarmor init test/foo.py | |
# - run: pyarmor build --mini | |
# - run: python3 dist/foo.py | |
# test-free-threading-macos: | |
# runs-on: macos-13 | |
# steps: | |
# - run: brew install python-freethreading | |
# - run: curl -O https://pyarmor.dashingsoft.com/downloads/temp/pyarmor_mini.tar.gz | |
# - run: tar xzf pyarmor_mini.tar.gz | |
# - run: cp -a darwin.x86_64/libs/cp3.13t/pyarmor_minit.so pyarmor_mini.so | |
# - run: $(brew --prefix)/bin/python3.13t -c "import pyarmor_mini" |