Fix CI tests for 3.4 and 3.5 #19
Workflow file for this run
This file contains 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: Run all tests | |
on: [push, pull_request] | |
env: | |
PIP: "eval PIP_DISABLE_PIP_VERSION_CHECK=1 | |
PYTHONWARNINGS=ignore:DEPRECATION | |
pip --no-cache-dir" | |
jobs: | |
build_py34: | |
runs-on: ubuntu-20.04 | |
container: python:3.4 | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install asxxxx | |
run: | | |
wget --no-verbose https://github.com/6502org/6502.org/raw/74f5d0c0f9b73d5e353bde7b3b25ea7f43b527a1/public/tools/asm/asxs5p50.zip | |
unzip -q asxs5p50.zip | |
make -C asxv5pxx/asxmak/linux/build all | |
echo "$PWD/asxv5pxx/asxmak/linux/build" >> $GITHUB_PATH | |
- name: Install srecord | |
run: | | |
cat /etc/issue # Debian 9 (Stretch) expected | |
dpkg -r --force-all libgcrypt20 | |
wget --no-verbose http://ftp.us.debian.org/debian/pool/main/libg/libgcrypt20/libgcrypt20_1.8.4-5+deb10u1_amd64.deb | |
dpkg -i libgcrypt20_1.8.4-5+deb10u1_amd64.deb | |
wget --no-verbose http://ftp.us.debian.org/debian/pool/main/s/srecord/libsrecord0_1.64-1_amd64.deb | |
dpkg -i libsrecord0_1.64-1_amd64.deb | |
wget --no-verbose http://ftp.us.debian.org/debian/pool/main/s/srecord/srecord_1.64-1_amd64.deb | |
dpkg -i srecord_1.64-1_amd64.deb | |
- name: Show Python version | |
run: python -V | |
- name: Assemble debugger firmware | |
run: make -C k0emu/debugger/firmware | |
- name: Install dependencies | |
run: $PIP install setuptools k0dasm | |
- name: Run the tests | |
run: python setup.py test -q | |
build_py35: | |
runs-on: ubuntu-20.04 | |
container: python:3.5 | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install asxxxx | |
run: | | |
wget --no-verbose https://github.com/6502org/6502.org/raw/74f5d0c0f9b73d5e353bde7b3b25ea7f43b527a1/public/tools/asm/asxs5p50.zip | |
unzip -q asxs5p50.zip | |
make -C asxv5pxx/asxmak/linux/build all | |
echo "$PWD/asxv5pxx/asxmak/linux/build" >> $GITHUB_PATH | |
- name: Install srecord | |
run: | | |
cat /etc/issue # Debian 10 (Buster) expected | |
apt update | |
apt install -y srecord | |
- name: Show Python version | |
run: python -V | |
- name: Assemble debugger firmware | |
run: make -C k0emu/debugger/firmware | |
- name: Install dependencies | |
run: $PIP install setuptools k0dasm | |
- name: Run the tests | |
run: python setup.py test -q | |
build: | |
runs-on: ubuntu-20.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: [3.6, 3.7, 3.8, 3.9, "3.10", 3.11, 3.12] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install asxxxx | |
run: | | |
wget --no-verbose https://github.com/6502org/6502.org/raw/74f5d0c0f9b73d5e353bde7b3b25ea7f43b527a1/public/tools/asm/asxs5p50.zip | |
unzip -q asxs5p50.zip | |
make -C asxv5pxx/asxmak/linux/build all | |
echo "$PWD/asxv5pxx/asxmak/linux/build" >> $GITHUB_PATH | |
- name: Install srecord | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y srecord | |
- name: Show Python version | |
run: python -V | |
- name: Assemble debugger firmware | |
run: make -C k0emu/debugger/firmware | |
- name: Install dependencies | |
run: $PIP install setuptools k0dasm | |
- name: Run the tests | |
run: python setup.py test -q |