[DEV] README: Update copyright #48
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: pyrenode3 | |
| on: | |
| push: | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Clone repository | |
| uses: actions/checkout@v6 | |
| - name: Prepare dependencies | |
| run: | | |
| export DEBIAN_FRONTEND="noninteractive" | |
| sudo apt-get -qqy update > /dev/null | |
| sudo apt-get -qqy install git autoconf automake coreutils g++ gcc libgtk2.0-0 libtool policykit-1 python3 python3 python3-pip python3-venv screen uml-utilities wget > /dev/null | |
| echo "verbose = off" > wgetrc_local | |
| export WGETRC="wgetrc_local" | |
| wget https://dot.net/v1/dotnet-install.sh -O ./dotnet-install.sh | |
| chmod +x ./dotnet-install.sh | |
| sudo ./dotnet-install.sh --version "10.0.100" --install-dir "/opt/dotnet" | |
| echo "/opt/dotnet" >> "$GITHUB_PATH" | |
| - name: Prepare pyrenode | |
| run: | | |
| dotnet --version | |
| wget -q https://builds.renode.io/renode-latest.linux-dotnet.tar.gz -O renode-dotnet.tar.gz | |
| python3 -m pip install . | |
| python3 -m pip install -r examples/requirements.txt | |
| - name: Run examples | |
| run: | | |
| export PYRENODE_RUNTIME="coreclr" | |
| export PYRENODE_PKG="$PWD/renode-dotnet.tar.gz" | |
| for i in examples/*.py; do echo "Running test $i..."; timeout 240 python3 $i; done |