File tree Expand file tree Collapse file tree 2 files changed +0
-27
lines changed
Expand file tree Collapse file tree 2 files changed +0
-27
lines changed Original file line number Diff line number Diff line change @@ -94,27 +94,13 @@ jobs:
9494 - name : Install dependencies with mypyc extras
9595 run : uv sync --extra mypyc --group build
9696
97- - name : Set version to include mypyc suffix
98- run : |
99- CURRENT_VERSION=$(grep '^version = ' pyproject.toml | head -1 | cut -d'"' -f2)
100- sed -i.bak 's/version = "'"$CURRENT_VERSION"'"/version = "'"$CURRENT_VERSION"'+mypyc"/' pyproject.toml
101- shell : bash
102-
103- - name : Set up MyPyC environment variables
104- run : |
105- echo "MYPYC_OPT_LEVEL=3" >> $GITHUB_ENV
106- echo "MYPYC_DEBUG_LEVEL=0" >> $GITHUB_ENV
107- echo "MYPYC_MULTI_FILE=1" >> $GITHUB_ENV
108- shell : bash
109-
11097 - name : Build MyPyC wheel
11198 run : uv build --wheel
11299 env :
113100 HATCH_BUILD_HOOKS_ENABLE : " 1"
114101 MYPYC_OPT_LEVEL : " 3"
115102 MYPYC_DEBUG_LEVEL : " 0"
116103 MYPYC_MULTI_FILE : " 1"
117- shell : bash
118104
119105 - name : Upload mypyc wheel artifacts
120106 uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change @@ -105,19 +105,6 @@ jobs:
105105 - name : Install dependencies with mypyc extras
106106 run : uv sync --extra mypyc --group build
107107
108- - name : Set version to include mypyc suffix
109- run : |
110- CURRENT_VERSION=$(grep '^version = ' pyproject.toml | head -1 | cut -d'"' -f2)
111- sed -i.bak 's/version = "'"$CURRENT_VERSION"'"/version = "'"$CURRENT_VERSION"'+mypyc"/' pyproject.toml
112- shell : bash
113-
114- - name : Set up MyPyC environment variables
115- run : |
116- echo "MYPYC_OPT_LEVEL=3" >> $GITHUB_ENV
117- echo "MYPYC_DEBUG_LEVEL=0" >> $GITHUB_ENV
118- echo "MYPYC_MULTI_FILE=1" >> $GITHUB_ENV
119- shell : bash
120-
121108 - name : Build MyPyC wheel
122109 run : uv build --wheel
123110 env :
You can’t perform that action at this time.
0 commit comments