From a0edb3caeffd8b02c1009958e656bb56bdf9bd7e Mon Sep 17 00:00:00 2001 From: wszqkzqk Date: Sun, 24 Jul 2022 21:57:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=96=E6=B6=88Linux=E6=9E=84=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-pr.yml | 100 ++++++++++++++++----------------- .github/workflows/build.yml | 100 ++++++++++++++++----------------- 2 files changed, 100 insertions(+), 100 deletions(-) diff --git a/.github/workflows/build-pr.yml b/.github/workflows/build-pr.yml index 4df9706..0d9e2f5 100644 --- a/.github/workflows/build-pr.yml +++ b/.github/workflows/build-pr.yml @@ -92,58 +92,58 @@ jobs: artifacts: ./out/*nuitka*.exe token: ${{ secrets.GITHUB_TOKEN }} - linux: - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - python_version: - - '3.10' - name: Ubuntu Python ${{ matrix.python_version }} - steps: - - name: 🛎️ Checkout - uses: actions/checkout@v2 - with: - fetch-depth: 0 + #linux: + # runs-on: ubuntu-latest + # strategy: + # fail-fast: false + # matrix: + # python_version: + # - '3.10' + # name: Ubuntu Python ${{ matrix.python_version }} + # steps: + # - name: 🛎️ Checkout + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 - - name: 🐍 Use Python ${{ matrix.python_version }} - uses: actions/setup-python@v2 - with: - python-version: ${{ matrix.python_version }} + # - name: 🐍 Use Python ${{ matrix.python_version }} + # uses: actions/setup-python@v2 + # with: + # python-version: ${{ matrix.python_version }} - - name: 🧳 Install dependencies - run: | - sudo apt-get update - sudo apt-get install patchelf gdb ccache libfuse2 - python -m pip install --no-python-version-warning --disable-pip-version-check zstandard appdirs ordered-set tqdm Jinja2 - python -m pip install --no-python-version-warning --disable-pip-version-check nuitka - python -m pip install --no-python-version-warning --disable-pip-version-check pygame + # - name: 🧳 Install dependencies + # run: | + # sudo apt-get update + # sudo apt-get install patchelf gdb ccache libfuse2 + # python -m pip install --no-python-version-warning --disable-pip-version-check zstandard appdirs ordered-set tqdm Jinja2 + # python -m pip install --no-python-version-warning --disable-pip-version-check nuitka + # python -m pip install --no-python-version-warning --disable-pip-version-check pygame - # 使用Nuitka构建 - - name: Show nuitka version - run: | - env - python -m nuitka --version + # # 使用Nuitka构建 + # - name: Show nuitka version + # run: | + # env + # python -m nuitka --version - - name: Build pypvz with Nuitka - run: | - yes | python -m nuitka \ - --show-progress \ - --follow-imports \ - --show-memory \ - --output-dir=out \ - --linux-onefile-icon=pypvz.ico \ - -o ./out/pypvz \ - --remove-output \ - main.py - cp -r ./resources ./out/resources - cd out - tar -cvpaf ../pypvz-with-python${{ matrix.python_version }}-nuitka-linux-x64.tar.zst . + # - name: Build pypvz with Nuitka + # run: | + # yes | python -m nuitka \ + # --show-progress \ + # --follow-imports \ + # --show-memory \ + # --output-dir=out \ + # --linux-onefile-icon=pypvz.ico \ + # -o ./out/pypvz \ + # --remove-output \ + # main.py + # cp -r ./resources ./out/resources + # cd out + # tar -cvpaf ../pypvz-with-python${{ matrix.python_version }}-nuitka-linux-x64.tar.zst . - - name: Release the version built by nuitka - uses: ncipollo/release-action@v1 - with: - allowUpdates: true - tag: Latest - artifacts: ./*.tar.zst - token: ${{ secrets.GITHUB_TOKEN }} + # - name: Release the version built by nuitka + # uses: ncipollo/release-action@v1 + # with: + # allowUpdates: true + # tag: Latest + # artifacts: ./*.tar.zst + # token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5585599..6a8007a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -94,58 +94,58 @@ jobs: artifacts: ./out/*nuitka*.exe token: ${{ secrets.GITHUB_TOKEN }} - linux: - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - python_version: - - '3.10' - name: Ubuntu Python ${{ matrix.python_version }} - steps: - - name: 🛎️ Checkout - uses: actions/checkout@v2 - with: - fetch-depth: 0 + #linux: + # runs-on: ubuntu-latest + # strategy: + # fail-fast: false + # matrix: + # python_version: + # - '3.10' + # name: Ubuntu Python ${{ matrix.python_version }} + # steps: + # - name: 🛎️ Checkout + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 - - name: 🐍 Use Python ${{ matrix.python_version }} - uses: actions/setup-python@v2 - with: - python-version: ${{ matrix.python_version }} + # - name: 🐍 Use Python ${{ matrix.python_version }} + # uses: actions/setup-python@v2 + # with: + # python-version: ${{ matrix.python_version }} - - name: 🧳 Install dependencies - run: | - sudo apt-get update - sudo apt-get install patchelf gdb ccache libfuse2 zstd tar - python -m pip install --no-python-version-warning --disable-pip-version-check zstandard appdirs ordered-set tqdm Jinja2 - python -m pip install --no-python-version-warning --disable-pip-version-check nuitka - python -m pip install --no-python-version-warning --disable-pip-version-check pygame + # - name: 🧳 Install dependencies + # run: | + # sudo apt-get update + # sudo apt-get install patchelf gdb ccache libfuse2 zstd tar + # python -m pip install --no-python-version-warning --disable-pip-version-check zstandard appdirs ordered-set tqdm Jinja2 + # python -m pip install --no-python-version-warning --disable-pip-version-check nuitka + # python -m pip install --no-python-version-warning --disable-pip-version-check pygame - # 使用Nuitka构建 - - name: Show nuitka version - run: | - env - python -m nuitka --version + # # 使用Nuitka构建 + # - name: Show nuitka version + # run: | + # env + # python -m nuitka --version - - name: Build pypvz with Nuitka - run: | - yes | python -m nuitka \ - --show-progress \ - --follow-imports \ - --show-memory \ - --output-dir=out \ - --linux-onefile-icon=pypvz.ico \ - -o ./out/pypvz \ - --remove-output \ - main.py - cp -r ./resources ./out/resources - cd out - tar -cvpaf ../pypvz-with-python${{ matrix.python_version }}-nuitka-linux-x64.tar.zst . + # - name: Build pypvz with Nuitka + # run: | + # yes | python -m nuitka \ + # --show-progress \ + # --follow-imports \ + # --show-memory \ + # --output-dir=out \ + # --linux-onefile-icon=pypvz.ico \ + # -o ./out/pypvz \ + # --remove-output \ + # main.py + # cp -r ./resources ./out/resources + # cd out + # tar -cvpaf ../pypvz-with-python${{ matrix.python_version }}-nuitka-linux-x64.tar.zst . - - name: Release the version built by nuitka - uses: ncipollo/release-action@v1 - with: - allowUpdates: true - tag: Latest - artifacts: ./*.tar.zst - token: ${{ secrets.GITHUB_TOKEN }} + # - name: Release the version built by nuitka + # uses: ncipollo/release-action@v1 + # with: + # allowUpdates: true + # tag: Latest + # artifacts: ./*.tar.zst + # token: ${{ secrets.GITHUB_TOKEN }}