@@ -53,47 +53,47 @@ jobs:
5353 name : cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
5454 path : ${{ env.WHEEL_PATH }}/*.whl
5555
56- # make-sdist:
57- # name: Build source distribution
58- # strategy:
59- # matrix:
60- # os: [ubuntu-latest]
61- # python-version: ["3.13"]
62- # runs-on: ${{ matrix.os }}
63- # steps:
64- # - uses: actions/checkout@v4
65- #
66- # - name: Set up Python ${{ matrix.python-version }}
67- # uses: actions/setup-python@v5
68- # with:
69- # python-version: ${{ matrix.python-version }}
70- #
71- # - name: Make & test sdist
72- # run: |
73- # # Setup Python
74- # echo ""
75- # python -m pip install --upgrade pip
76- # python -m pip install --upgrade setuptools
77- # python -m pip install build
78- # # Build distribution & install
79- # echo ""
80- # pushd $PKG_ROOT
81- # python -m build --sdist
82- # popd
83- # python -m pip install ${{ env.DIST_PATH }}/surmise-*.tar.gz
84- # # Log info
85- # echo ""
86- # which python
87- # python -m pip list
88- # # Run tests through package
89- # echo ""
90- # python -c "import surmise ; exit(not surmise.test())"
91- #
92- # - name: Archive source distribution
93- # uses: actions/upload-artifact@v4
94- # with:
95- # name: cibw-sdist
96- # path: ${{ env.DIST_PATH }}/surmise-*.tar.gz
56+ make-sdist :
57+ name : Build source distribution
58+ strategy :
59+ matrix :
60+ os : [ubuntu-latest]
61+ python-version : ["3.13"]
62+ runs-on : ${{ matrix.os }}
63+ steps :
64+ - uses : actions/checkout@v4
65+
66+ - name : Set up Python ${{ matrix.python-version }}
67+ uses : actions/setup-python@v5
68+ with :
69+ python-version : ${{ matrix.python-version }}
70+
71+ - name : Make & test sdist
72+ run : |
73+ # Setup Python
74+ echo ""
75+ python -m pip install --upgrade pip
76+ python -m pip install --upgrade setuptools
77+ python -m pip install build
78+ # Build distribution & install
79+ echo ""
80+ pushd $PKG_ROOT
81+ python -m build --sdist
82+ popd
83+ python -m pip install ${{ env.DIST_PATH }}/surmise-*.tar.gz
84+ # Log info
85+ echo ""
86+ which python
87+ python -m pip list
88+ # Run tests through package
89+ echo ""
90+ python -c "import surmise ; exit(not surmise.test())"
91+
92+ - name : Archive source distribution
93+ uses : actions/upload-artifact@v4
94+ with :
95+ name : cibw-sdist
96+ path : ${{ env.DIST_PATH }}/surmise-*.tar.gz
9797
9898 # THE FOLLOWING SHOULD BE CAREFULLY REVIEWED BEFORE UNCOMMENTING. IT IS
9999 # EFFECTIVELY A PLACEHOLDER.
0 commit comments