Skip to content

Commit cccb5a7

Browse files
author
rocky
committed
Try custom CI for this branch
1 parent 44063e0 commit cccb5a7

File tree

3 files changed

+13
-69
lines changed

3 files changed

+13
-69
lines changed

.github/workflows/osx.yml

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

.github/workflows/ubuntu.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,32 @@
1-
name: xdis (ubuntu)
1+
name: xdis (Ubuntu)
22

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

99
jobs:
1010
build:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
python-version: ['3.8', '3.9', '3.10', '3.11']
14+
python-version: ['3.8', '3.9', '3.10']
1515
steps:
16-
- uses: actions/checkout@v3
16+
- uses: actions/checkout@v4
1717
- name: Set up Python ${{ matrix.python-version }}
18-
uses: actions/setup-python@v2
18+
uses: actions/setup-python@v5
1919
with:
2020
python-version: ${{ matrix.python-version }}
2121
- name: Install dependencies
2222
run: |
23-
# We can comment out after next xdis release
24-
python -m pip install -e git+https://github.com/rocky/python-xdis#egg=xdis
23+
# Install the latest xdis release tarball from GitHub Releases (asset named xdis_36-*.tar.gz)
24+
XDIS_URL=$(curl -s https://api.github.com/repos/rocky/python-xdis/releases/latest \
25+
| python -c "import sys,json; j=json.load(sys.stdin); assets=j.get('assets',[]); print(next((a.get('browser_download_url') for a in assets if a.get('name','').startswith('xdis_36-') and a.get('name','').endswith('.tar.gz')), ''))")
26+
if [ -z "$XDIS_URL" ]; then
27+
echo "ERROR: no xdis_36-*.tar.gz asset found on the latest release"; exit 1
28+
fi
29+
python -m pip install "$XDIS_URL"
2530
pip install -e .
2631
pip install -r requirements-dev.txt
2732
- name: Test xasm

.github/workflows/windows.yml

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

0 commit comments

Comments
 (0)