Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .github/workflows/ci-alpine-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ jobs:
set_qbt_with_qemu: "" # default is yes
set_qbt_host_deps: "" # default is no
set_qbt_host_deps_repo: "" # default is userdocs/qbt-host-deps
workspace: ${{ github.workspace }}

steps:
- name: Checkout ${{ inputs.distinct_id }}
Expand Down Expand Up @@ -105,12 +106,12 @@ jobs:
printf '%s\n\n' "DEBIAN_FRONTEND=noninteractive" >> env.custom
- name: Host - Bootstrap qemu
uses: userdocs/actions/qemu@fb511333f39562a36780f1cf900b0e0729b180e3 # v1.0.5
uses: userdocs/actions/qemu@e8f57bd585c7bb6dcce011694d6772bab657abca # v1.0.7
with:
target_arch: ${{ matrix.qbt_cross_name }}

- name: Host - Bootstrap docker container
uses: userdocs/actions/qbt_docker@fb511333f39562a36780f1cf900b0e0729b180e3 # v1.0.5
uses: userdocs/actions/qbt_docker@e8f57bd585c7bb6dcce011694d6772bab657abca # v1.0.7
with:
os_id: ${{ matrix.os_id }}
os_version_id: ${{ matrix.os_version_id }}
Expand Down Expand Up @@ -173,7 +174,9 @@ jobs:
subject-path: "${{ env.qbt_build_dir }}/completed/${{ matrix.qbt_cross_name }}-${{ matrix.qbt_qt_version_name }}qbittorrent-nox"

- name: Docker - Release Info ${{ inputs.distinct_id }}
run: docker exec -w ${wd}/${qbt_build_dir}/release_info ${container_name} bash -c 'mv *.md *.json '${wd}/${qbt_build_dir}/completed''
working-directory: "${{ env.workspace }}/${{ env.qbt_build_dir }}/release_info"
run: |
mv *.md *.json "${workspace}/${qbt_build_dir}/completed"
- name: Host - Upload libtorrent-v${{ matrix.qbt_libtorrent_version }}-qbittorrent-nox and release info artifact ${{ inputs.distinct_id }}
if: success()
Expand All @@ -193,7 +196,7 @@ jobs:

# - name: Host - Upload build dir on error or cancel
# if: ( cancelled() || failure() )
# uses: actions/upload-artifact@v4
# uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
# with:
# name: "${{ matrix.qbt_cross_name }}-libtorrent-v${{ matrix.qbt_libtorrent_version }}-logs"
# path: "${{ env.qbt_build_dir }}"
17 changes: 10 additions & 7 deletions .github/workflows/ci-debian-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ jobs:
set_qbt_with_qemu: "" # default is yes
set_qbt_host_deps: "" # default is no
set_qbt_host_deps_repo: "" # default is userdocs/qbt-host-deps
workspace: ${{ github.workspace }}

steps:
- name: Checkout ${{ inputs.distinct_id }}
Expand Down Expand Up @@ -120,12 +121,12 @@ jobs:
printf '%s\n\n' "DEBIAN_FRONTEND=noninteractive" >> env.custom
- name: Host - Bootstrap qemu
uses: userdocs/actions/qemu@fb511333f39562a36780f1cf900b0e0729b180e3 # v1.0.5
uses: userdocs/actions/qemu@e8f57bd585c7bb6dcce011694d6772bab657abca # v1.0.7
with:
target_arch: ${{ matrix.qbt_cross_name }}

- name: Host - Bootstrap docker container
uses: userdocs/actions/qbt_docker@fb511333f39562a36780f1cf900b0e0729b180e3 # v1.0.5
uses: userdocs/actions/qbt_docker@e8f57bd585c7bb6dcce011694d6772bab657abca # v1.0.7
with:
os_id: ${{ matrix.os_id }}
os_version_id: ${{ matrix.os_version_id }}
Expand Down Expand Up @@ -183,16 +184,18 @@ jobs:
run: docker exec -w ${wd}/${qbt_build_dir}/completed ${container_name} mv -f qbittorrent-nox ${{ matrix.qbt_cross_name }}-${{ matrix.qbt_qt_version_name }}qbittorrent-nox

# - name: Generate artifact attestation ${{ inputs.distinct_id }}
# uses: actions/attest-build-provenance@v2
# uses: actions/attest-build-provenance@977bb373ede98d70efdf65b84cb5f73e068dcc2a # v3.0.0
# with:
# subject-path: "${{ env.qbt_build_dir }}/completed/${{ matrix.qbt_cross_name }}-${{ matrix.qbt_qt_version_name }}qbittorrent-nox"

# - name: Docker - Release Info ${{ inputs.distinct_id }}
# run: docker exec -w /home/gh/${{ env.qbt_build_dir }}/release_info ${container_name} bash -c 'mv *.md *.json '/home/gh/${{ env.qbt_build_dir }}/completed''
# working-directory: "${{ env.workspace }}/${{ env.qbt_build_dir }}/release_info"
# run: |
# mv *.md *.json "${workspace}/${qbt_build_dir}/completed"

# - name: Host - Upload libtorrent-v${{ matrix.qbt_libtorrent_version }}-qbittorrent-nox and release info artifact ${{ inputs.distinct_id }}
# if: success()
# uses: actions/upload-artifact@v4
# uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
# with:
# name: libtorrent-v${{ matrix.qbt_libtorrent_version }}-${{ matrix.qbt_cross_name }}-${{ matrix.qbt_qt_version_name }}qbittorrent-nox
# path: |
Expand All @@ -201,14 +204,14 @@ jobs:

# - name: Host - Upload cmake graphs artifact ${{ inputs.distinct_id }}
# if: success() && matrix.qbt_build_tool == ''
# uses: actions/upload-artifact@v4
# uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
# with:
# name: "${{ matrix.qbt_cross_name }}-libtorrent-v${{ matrix.qbt_libtorrent_version }}-graphs"
# path: "${{ env.qbt_build_dir }}/completed/*.png"

# - name: Host - Upload build dir on error or cancel
# if: ( cancelled() || failure() )
# uses: actions/upload-artifact@v4
# uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
# with:
# name: "${{ matrix.qbt_cross_name }}-libtorrent-v${{ matrix.qbt_libtorrent_version }}-logs"
# path: "${{ env.qbt_build_dir }}"
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
persist-credentials: false

- name: Install, build, and upload your site
uses: withastro/action@063f85a3c9fc861a0a5e5a956225d9031177eff9 # v4
uses: withastro/action@77fad83745446cf039d76af7037b782f1af80749 # v4.1.0
with:
path: ./docs

Expand Down