diff --git a/.github/workflows/nuitka.yml b/.github/workflows/nuitka.yml index d994995..efaacd7 100644 --- a/.github/workflows/nuitka.yml +++ b/.github/workflows/nuitka.yml @@ -65,6 +65,17 @@ jobs: Write-Output $infos >> $env:GITHUB_ENV python .github/workflows/get_info.py + # 这堆构建脚本全都是我自己写的 + - name: DR-rs build + shell: pwsh + run: | + cd libs/Difficult_Rocket_rs/src + python setup.py build + python after_build.py + python setup.py clean + cd .. + Remove-Item src + # 还是得我自己写脚本 - name: Build on Windows if: runner.os == 'Windows' @@ -131,16 +142,6 @@ jobs: Rename-Item ./build/DR.dist Difficult-Rocket - - name: DR-rs build - shell: pwsh - run: | - cd libs/Difficult_Rocket_rs/src - python setup.py build - python after_build.py - python setup.py clean - cd .. - rm src - - name: after build shell: pwsh run: python ./.github/workflows/after_compile.py