Skip to content

Commit 0095b5e

Browse files
committed
Try fixing Ubuntu workflows CI
1 parent c2f1c19 commit 0095b5e

File tree

4 files changed

+104
-52
lines changed

4 files changed

+104
-52
lines changed

.github/workflows/macos.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: decompyle3 (macos)
2+
3+
on:
4+
push:
5+
branches: [ master, python-3.7-to-3.10 ]
6+
pull_request:
7+
branches: [ master, python-3.7-to-3.10 ]
8+
9+
jobs:
10+
build-master:
11+
if: github.ref == 'refs/heads/master'
12+
runs-on: macos-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
with:
16+
ref: master
17+
- name: Set up Python 3.13
18+
uses: actions/setup-python@v5
19+
with:
20+
python-version: 3.13
21+
- name: Install dependencies
22+
run: |
23+
python -m pip install --upgrade pip
24+
pip install -e .
25+
pip install -r requirements-dev.txt
26+
- name: Test decompyle3
27+
run: |
28+
make check
29+
30+
build-37-to-310:
31+
if: github.ref == 'refs/heads/python-3.7-to-3.10'
32+
runs-on: macos-latest
33+
steps:
34+
- uses: actions/checkout@v4
35+
with:
36+
ref: python-3.7-to-3.10
37+
- name: Set up Python 3.8
38+
uses: actions/setup-python@v5
39+
with:
40+
python-version: 3.8
41+
- name: Install dependencies
42+
run: |
43+
python -m pip install --upgrade pip
44+
pip install -e .
45+
pip install -r requirements-dev.txt
46+
- name: Test decompyle3
47+
run: |
48+
make check

.github/workflows/osx.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

.github/workflows/ubuntu.yml

Lines changed: 28 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,45 @@ name: decompyle3 (ubuntu)
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches: [ master, python-3.7-to-3.10 ]
66
pull_request:
7-
branches: [ master ]
7+
branches: [ master, python-3.7-to-3.10 ]
88

99
jobs:
10-
build:
10+
build-master:
11+
if: github.ref == 'refs/heads/master'
1112
runs-on: ubuntu-latest
12-
strategy:
13-
matrix:
14-
python-version: ['3.8']
1513
steps:
1614
- uses: actions/checkout@v4
17-
- name: Set up Python ${{ matrix.python-version }}
15+
with:
16+
ref: master
17+
- name: Set up Python 3.13
18+
uses: actions/setup-python@v5
19+
with:
20+
python-version: 3.13
21+
- name: Install dependencies
22+
run: |
23+
python -m pip install --upgrade pip
24+
pip install -e .
25+
pip install -r requirements-dev.txt
26+
- name: Test decompyle3
27+
run: |
28+
make check
29+
30+
build-37-to-310:
31+
if: github.ref == 'refs/heads/python-3.7-to-3.10'
32+
runs-on: ubuntu-latest
33+
steps:
34+
- uses: actions/checkout@v4
35+
with:
36+
ref: python-3.7-to-3.10
37+
- name: Set up Python 3.8
1838
uses: actions/setup-python@v5
1939
with:
20-
python-version: ${{ matrix.python-version }}
40+
python-version: 3.8
2141
- name: Install dependencies
2242
run: |
2343
python -m pip install --upgrade pip
24-
# Until the next xdis release
25-
# pip install git+https://github.com/rocky/python-xdis#egg=xdis
2644
pip install -e .
2745
pip install -r requirements-dev.txt
2846
- name: Test decompyle3

.github/workflows/windows.yml

Lines changed: 28 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,45 @@ name: decompyle3 (windows)
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches: [ master, python-3.7-to-3.10 ]
66
pull_request:
7-
branches: [ master ]
7+
branches: [ master, python-3.7-to-3.10 ]
88

99
jobs:
10-
build:
10+
build-master:
11+
if: github.ref == 'refs/heads/master'
1112
runs-on: windows-latest
12-
strategy:
13-
matrix:
14-
os: [windows]
15-
python-version: ['3.8']
1613
steps:
1714
- uses: actions/checkout@v4
18-
- name: Set up Python ${{ matrix.python-version }}
15+
with:
16+
ref: master
17+
- name: Set up Python 3.13
18+
uses: actions/setup-python@v5
19+
with:
20+
python-version: 3.13
21+
- name: Install dependencies
22+
run: |
23+
python -m pip install --upgrade pip
24+
pip install -e .
25+
pip install -r requirements-dev.txt
26+
- name: Test decompyle3
27+
run: |
28+
make check
29+
30+
build-37-to-310:
31+
if: github.ref == 'refs/heads/python-3.7-to-3.10'
32+
runs-on: windows-latest
33+
steps:
34+
- uses: actions/checkout@v4
35+
with:
36+
ref: python-3.7-to-3.10
37+
- name: Set up Python 3.8
1938
uses: actions/setup-python@v5
2039
with:
21-
python-version: ${{ matrix.python-version }}
40+
python-version: 3.8
2241
- name: Install dependencies
2342
run: |
2443
python -m pip install --upgrade pip
25-
# Until the next xdis release
26-
# pip install git+https://github.com/rocky/python-xdis#egg=xdis
2744
pip install -e .
2845
pip install -r requirements-dev.txt
2946
- name: Test decompyle3

0 commit comments

Comments
 (0)