-
Notifications
You must be signed in to change notification settings - Fork 4
128 lines (98 loc) · 3.34 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
name: Run all tests
on: [push, pull_request]
env:
PIP_DISABLE_PIP_VERSION_CHECK: 1
jobs:
build_py34:
runs-on: ubuntu-20.04
container: python:3.4
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Show Python version
run: python -V
- name: Install dependencies
run: pip install setuptools
- name: Run the tests
run: python setup.py test -q
- name: Install it
run: python setup.py install
- 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
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: Disassemble and reassemble the test program
run: |
make -C k0dasm/tests/end_to_end all
build_py35:
runs-on: ubuntu-20.04
container: python:3.5
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Show Python version
run: python -V
- name: Install dependencies
run: pip install setuptools
- name: Run the tests
run: python setup.py test -q
- name: Install it
run: python setup.py install
- 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: Disassemble and reassemble the test program
run: |
make -C k0dasm/tests/end_to_end all
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: Show Python version
run: python -V
- name: Install dependencies
run: pip install setuptools
- name: Run the tests
run: python setup.py test -q
- name: Install it
run: python setup.py install
- 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: Disassemble and reassemble the test program
run: |
make -C k0dasm/tests/end_to_end all