|
18 | 18 | permissions: {}
|
19 | 19 |
|
20 | 20 | jobs:
|
21 |
| - sdist: |
22 |
| - runs-on: ubuntu-latest |
23 |
| - |
24 |
| - permissions: |
25 |
| - contents: write |
26 |
| - |
27 |
| - steps: |
28 |
| - |
29 |
| - with: |
30 |
| - fetch-depth: 0 |
31 |
| - |
32 |
| - - name: Set up Python |
33 |
| - |
34 |
| - with: |
35 |
| - python-version: "3.9" |
36 |
| - # python-version: "3.x" |
37 |
| - |
38 |
| - - name: Install build dependencies |
39 |
| - run: | |
40 |
| - pip install --upgrade pip setuptools wheel |
41 |
| -
|
42 |
| - - name: Package source dist |
43 |
| - run: python setup.py sdist |
44 |
| - |
45 |
| - - name: Install test dependencies |
46 |
| - run: | |
47 |
| - sudo apt-get update -y -q |
48 |
| - sudo apt-get install -y -q libxml2-dev libxslt1-dev libxmlsec1-dev libxmlsec1-openssl opensc softhsm2 libengine-pkcs11-openssl |
49 |
| - pip install --upgrade -r requirements-test.txt --no-binary lxml |
50 |
| - pip install dist/xmlsec-$(python setup.py --version).tar.gz |
51 |
| -
|
52 |
| - - name: Run tests |
53 |
| - run: pytest -v --color=yes |
54 |
| - |
55 |
| - - name: Upload sdist |
56 |
| - |
57 |
| - with: |
58 |
| - name: sdist |
59 |
| - path: dist/*.tar.gz |
| 21 | + # sdist: |
| 22 | + # runs-on: ubuntu-latest |
| 23 | + |
| 24 | + # permissions: |
| 25 | + # contents: write |
| 26 | + |
| 27 | + # steps: |
| 28 | + # - uses: actions/[email protected] |
| 29 | + # with: |
| 30 | + # fetch-depth: 0 |
| 31 | + |
| 32 | + # - name: Set up Python |
| 33 | + |
| 34 | + # with: |
| 35 | + # python-version: "3.9" |
| 36 | + # # python-version: "3.x" |
| 37 | + |
| 38 | + # - name: Install build dependencies |
| 39 | + # run: | |
| 40 | + # pip install --upgrade pip setuptools wheel |
| 41 | + |
| 42 | + # - name: Package source dist |
| 43 | + # run: python setup.py sdist |
| 44 | + |
| 45 | + # - name: Install test dependencies |
| 46 | + # run: | |
| 47 | + # sudo apt-get update -y -q |
| 48 | + # sudo apt-get install -y -q libxml2-dev libxslt1-dev libxmlsec1-dev libxmlsec1-openssl opensc softhsm2 libengine-pkcs11-openssl |
| 49 | + # pip install --upgrade -r requirements-test.txt --no-binary lxml |
| 50 | + # pip install dist/xmlsec-$(python setup.py --version).tar.gz |
| 51 | + |
| 52 | + # - name: Run tests |
| 53 | + # run: pytest -v --color=yes |
| 54 | + |
| 55 | + # - name: Upload sdist |
| 56 | + |
| 57 | + # with: |
| 58 | + # name: sdist |
| 59 | + # path: dist/*.tar.gz |
60 | 60 |
|
61 | 61 | generate-wheels-matrix:
|
62 | 62 | # Create a matrix of all architectures & versions to build.
|
@@ -85,11 +85,13 @@ jobs:
|
85 | 85 | # | jq -nRc '{"only": inputs, "os": "macos-latest"}' \
|
86 | 86 | # && cibuildwheel --print-build-identifiers --platform windows \
|
87 | 87 | cibuildwheel --print-build-identifiers --platform windows \
|
88 |
| - | jq -nRc '{"only": inputs, "os": "windows-2019"}' |
| 88 | + | jq -nRc '{"only": inputs, "os": "windows-latest"}' |
89 | 89 | } | jq -sc
|
90 | 90 | )
|
91 | 91 | echo "include=$MATRIX"
|
92 |
| - echo "include=$MATRIX" >> $GITHUB_OUTPUT |
| 92 | + # echo "include=$MATRIX" >> $GITHUB_OUTPUT |
| 93 | + echo "include=[{\"only\":\"cp39-win_amd64\",\"os\":\"windows-2019\"}]" >> $GITHUB_OUTPUT |
| 94 | +
|
93 | 95 |
|
94 | 96 | build_wheels:
|
95 | 97 | name: Build for ${{ matrix.only }}
|
|
0 commit comments