mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-10-22 18:56:08 +03:00
Capitalize workflow step names
This commit is contained in:
parent
59352e4ca7
commit
ba1cf12817
4 changed files with 35 additions and 35 deletions
46
.github/workflows/ci.yaml
vendored
46
.github/workflows/ci.yaml
vendored
|
@ -29,10 +29,10 @@ jobs:
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: install all build dependencies except libtorrent from Ubuntu repos
|
- name: Install all build dependencies except libtorrent from Ubuntu repos
|
||||||
run: |
|
run: |
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install \
|
sudo apt install \
|
||||||
|
@ -43,13 +43,13 @@ jobs:
|
||||||
|
|
||||||
# this will be installed under /opt/qt515. CMake will still find it automatically without additional hints
|
# this will be installed under /opt/qt515. CMake will still find it automatically without additional hints
|
||||||
# to speed up the process, only the required components are installed rather than the full qt515-meta-full metapackage
|
# to speed up the process, only the required components are installed rather than the full qt515-meta-full metapackage
|
||||||
- name: install Qt 5.15.2 from an external PPA
|
- name: Install Qt 5.15.2 from an external PPA
|
||||||
run: |
|
run: |
|
||||||
sudo add-apt-repository ppa:beineri/opt-qt-5.15.2-focal
|
sudo add-apt-repository ppa:beineri/opt-qt-5.15.2-focal
|
||||||
sudo apt install \
|
sudo apt install \
|
||||||
qt515base qt515svg qt515tools
|
qt515base qt515svg qt515tools
|
||||||
|
|
||||||
- name: install libtorrent from source
|
- name: Install libtorrent from source
|
||||||
run: |
|
run: |
|
||||||
git clone https://github.com/arvidn/libtorrent
|
git clone https://github.com/arvidn/libtorrent
|
||||||
cd libtorrent
|
cd libtorrent
|
||||||
|
@ -64,7 +64,7 @@ jobs:
|
||||||
cmake --build build
|
cmake --build build
|
||||||
sudo cmake --install build --prefix /usr/local
|
sudo cmake --install build --prefix /usr/local
|
||||||
|
|
||||||
- name: build qBittorrent
|
- name: Build qBittorrent
|
||||||
run: |
|
run: |
|
||||||
cmake \
|
cmake \
|
||||||
-B build \
|
-B build \
|
||||||
|
@ -76,10 +76,10 @@ jobs:
|
||||||
--graphviz=build/target_graph.dot
|
--graphviz=build/target_graph.dot
|
||||||
cmake --build build
|
cmake --build build
|
||||||
|
|
||||||
- name: install qBittorrent
|
- name: Install qBittorrent
|
||||||
run: sudo cmake --install build --prefix /usr/local
|
run: sudo cmake --install build --prefix /usr/local
|
||||||
|
|
||||||
- name: upload artifact as zip
|
- name: Upload artifact as zip
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: qBittorrent-CI_${{ matrix.os }}-x64_${{ matrix.qbt_gui }}
|
name: qBittorrent-CI_${{ matrix.os }}-x64_${{ matrix.qbt_gui }}
|
||||||
|
@ -101,15 +101,15 @@ jobs:
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
# - ninja is needed for building qBittorrent (because it's preferable, not a hard requirement)
|
# - ninja is needed for building qBittorrent (because it's preferable, not a hard requirement)
|
||||||
- name: install additional required packages with chocolatey
|
- name: Install additional required packages with chocolatey
|
||||||
run: |
|
run: |
|
||||||
choco install ninja
|
choco install ninja
|
||||||
|
|
||||||
- name: setup vcpkg (cached, if possible)
|
- name: Setup vcpkg (cached, if possible)
|
||||||
uses: lukka/run-vcpkg@v7
|
uses: lukka/run-vcpkg@v7
|
||||||
with:
|
with:
|
||||||
vcpkgDirectory: ${{ env.VCPKG_DEST_WIN }}
|
vcpkgDirectory: ${{ env.VCPKG_DEST_WIN }}
|
||||||
|
@ -117,7 +117,7 @@ jobs:
|
||||||
setupOnly: true
|
setupOnly: true
|
||||||
|
|
||||||
# Tell vcpkg to only build Release variants of the dependencies
|
# Tell vcpkg to only build Release variants of the dependencies
|
||||||
- name: configure vcpkg triplet overlay for release builds only
|
- name: Configure vcpkg triplet overlay for release builds only
|
||||||
run: |
|
run: |
|
||||||
New-Item `
|
New-Item `
|
||||||
-Path ${{ github.workspace }} `
|
-Path ${{ github.workspace }} `
|
||||||
|
@ -131,7 +131,7 @@ jobs:
|
||||||
-Value "set(VCPKG_BUILD_TYPE release)"
|
-Value "set(VCPKG_BUILD_TYPE release)"
|
||||||
|
|
||||||
# clear buildtrees after each package installation to reduce disk space requirements
|
# clear buildtrees after each package installation to reduce disk space requirements
|
||||||
- name: install dependencies via vcpkg
|
- name: Install dependencies via vcpkg
|
||||||
run: |
|
run: |
|
||||||
$packages = `
|
$packages = `
|
||||||
"boost-circular-buffer:x64-windows-static-release",
|
"boost-circular-buffer:x64-windows-static-release",
|
||||||
|
@ -151,10 +151,10 @@ jobs:
|
||||||
}
|
}
|
||||||
|
|
||||||
# NOTE: this is necessary to correctly find and use cl.exe with the Ninja generator for now
|
# NOTE: this is necessary to correctly find and use cl.exe with the Ninja generator for now
|
||||||
- name: setup devcmd
|
- name: Setup devcmd
|
||||||
uses: ilammy/msvc-dev-cmd@v1
|
uses: ilammy/msvc-dev-cmd@v1
|
||||||
|
|
||||||
- name: build qBittorrent
|
- name: Build qBittorrent
|
||||||
shell: cmd
|
shell: cmd
|
||||||
run: |
|
run: |
|
||||||
cmake ^
|
cmake ^
|
||||||
|
@ -169,7 +169,7 @@ jobs:
|
||||||
--graphviz=build\target_graph.dot
|
--graphviz=build\target_graph.dot
|
||||||
cmake --build build
|
cmake --build build
|
||||||
|
|
||||||
- name: upload artifact as zip
|
- name: Upload artifact as zip
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: qBittorrent-CI_Windows-x64
|
name: qBittorrent-CI_Windows-x64
|
||||||
|
@ -194,24 +194,24 @@ jobs:
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
# - ninja is needed for building qBittorrent (because it's preferable, not a hard requirement)
|
# - ninja is needed for building qBittorrent (because it's preferable, not a hard requirement)
|
||||||
# - automake is needed for the installation the vcpkg installation of fontconfig, a dependency of qt5-base
|
# - automake is needed for the installation the vcpkg installation of fontconfig, a dependency of qt5-base
|
||||||
- name: install additional required packages with homebrew
|
- name: Install additional required packages with homebrew
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
brew install automake ninja
|
brew install automake ninja
|
||||||
|
|
||||||
- name: setup vcpkg (cached, if possible)
|
- name: Setup vcpkg (cached, if possible)
|
||||||
uses: lukka/run-vcpkg@v7
|
uses: lukka/run-vcpkg@v7
|
||||||
with:
|
with:
|
||||||
vcpkgDirectory: ${{ env.VCPKG_DEST_MACOS }}
|
vcpkgDirectory: ${{ env.VCPKG_DEST_MACOS }}
|
||||||
vcpkgGitCommitId: ${{ env.VCPKG_COMMIT }}
|
vcpkgGitCommitId: ${{ env.VCPKG_COMMIT }}
|
||||||
setupOnly: true
|
setupOnly: true
|
||||||
|
|
||||||
- name: configure vcpkg triplet overlay for release builds only
|
- name: Configure vcpkg triplet overlay for release builds only
|
||||||
run: |
|
run: |
|
||||||
New-Item `
|
New-Item `
|
||||||
-Path ${{ github.workspace }} `
|
-Path ${{ github.workspace }} `
|
||||||
|
@ -225,14 +225,14 @@ jobs:
|
||||||
-Value "set(VCPKG_BUILD_TYPE release)","set(VCPKG_OSX_DEPLOYMENT_TARGET 10.15)"
|
-Value "set(VCPKG_BUILD_TYPE release)","set(VCPKG_OSX_DEPLOYMENT_TARGET 10.15)"
|
||||||
|
|
||||||
# NOTE: Avoids a libtorrent ABI issue. See https://github.com/arvidn/libtorrent/issues/4965
|
# NOTE: Avoids a libtorrent ABI issue. See https://github.com/arvidn/libtorrent/issues/4965
|
||||||
- name: force AppleClang to compile libtorrent with the same C++ standard as qBittorrent
|
- name: Force AppleClang to compile libtorrent with the same C++ standard as qBittorrent
|
||||||
run: |
|
run: |
|
||||||
(Get-Content `
|
(Get-Content `
|
||||||
-path ${{ env.RUNVCPKG_VCPKG_ROOT }}/ports/libtorrent/portfile.cmake).Replace( `
|
-path ${{ env.RUNVCPKG_VCPKG_ROOT }}/ports/libtorrent/portfile.cmake).Replace( `
|
||||||
'${FEATURE_OPTIONS}', '${FEATURE_OPTIONS} -DCMAKE_CXX_STANDARD=17') `
|
'${FEATURE_OPTIONS}', '${FEATURE_OPTIONS} -DCMAKE_CXX_STANDARD=17') `
|
||||||
| Set-Content -Path ${{ env.RUNVCPKG_VCPKG_ROOT }}/ports/libtorrent/portfile.cmake
|
| Set-Content -Path ${{ env.RUNVCPKG_VCPKG_ROOT }}/ports/libtorrent/portfile.cmake
|
||||||
|
|
||||||
- name: install dependencies via vcpkg
|
- name: Install dependencies via vcpkg
|
||||||
run: |
|
run: |
|
||||||
$packages = `
|
$packages = `
|
||||||
"boost-circular-buffer:x64-osx-release",
|
"boost-circular-buffer:x64-osx-release",
|
||||||
|
@ -251,7 +251,7 @@ jobs:
|
||||||
--clean-after-build
|
--clean-after-build
|
||||||
}
|
}
|
||||||
|
|
||||||
- name: build qBittorrent
|
- name: Build qBittorrent
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
cmake \
|
cmake \
|
||||||
|
@ -266,7 +266,7 @@ jobs:
|
||||||
--graphviz=build/target_graph.dot
|
--graphviz=build/target_graph.dot
|
||||||
cmake --build build
|
cmake --build build
|
||||||
|
|
||||||
- name: upload artifact as zip
|
- name: Upload artifact as zip
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: qBittorrent-CI_macOS_${{ matrix.qbt_gui }}
|
name: qBittorrent-CI_macOS_${{ matrix.qbt_gui }}
|
||||||
|
|
8
.github/workflows/coverity-scan.yml
vendored
8
.github/workflows/coverity-scan.yml
vendored
|
@ -13,10 +13,10 @@ jobs:
|
||||||
name: Scan
|
name: Scan
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- name: checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: install all build dependencies except libtorrent from Ubuntu repos
|
- name: Install all build dependencies except libtorrent from Ubuntu repos
|
||||||
run: |
|
run: |
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install \
|
sudo apt install \
|
||||||
|
@ -26,13 +26,13 @@ jobs:
|
||||||
|
|
||||||
# this will be installed under /opt/qt515. CMake will still find it automatically without additional hints
|
# this will be installed under /opt/qt515. CMake will still find it automatically without additional hints
|
||||||
# to speed up the process, only the required components are installed rather than the full qt515-meta-full metapackage
|
# to speed up the process, only the required components are installed rather than the full qt515-meta-full metapackage
|
||||||
- name: install Qt 5.15.2 from an external PPA
|
- name: Install Qt 5.15.2 from an external PPA
|
||||||
run: |
|
run: |
|
||||||
sudo add-apt-repository ppa:beineri/opt-qt-5.15.2-focal
|
sudo add-apt-repository ppa:beineri/opt-qt-5.15.2-focal
|
||||||
sudo apt install \
|
sudo apt install \
|
||||||
qt515base qt515svg qt515tools
|
qt515base qt515svg qt515tools
|
||||||
|
|
||||||
- name: install libtorrent from source
|
- name: Install libtorrent from source
|
||||||
run: |
|
run: |
|
||||||
git clone https://github.com/arvidn/libtorrent
|
git clone https://github.com/arvidn/libtorrent
|
||||||
cd libtorrent
|
cd libtorrent
|
||||||
|
|
6
.github/workflows/file_health.yaml
vendored
6
.github/workflows/file_health.yaml
vendored
|
@ -7,14 +7,14 @@ jobs:
|
||||||
name: Check file health
|
name: Check file health
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: install zsh
|
- name: Install zsh
|
||||||
run: |
|
run: |
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install zsh
|
sudo apt install zsh
|
||||||
|
|
||||||
- name: run check file health script
|
- name: Run check file health script
|
||||||
run: |
|
run: |
|
||||||
./.github/workflows/file_health.sh
|
./.github/workflows/file_health.sh
|
||||||
|
|
10
.github/workflows/webui_ci.yaml
vendored
10
.github/workflows/webui_ci.yaml
vendored
|
@ -11,21 +11,21 @@ jobs:
|
||||||
working-directory: src/webui/www
|
working-directory: src/webui/www
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: setup nodejs
|
- name: Setup nodejs
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: 'lts/*'
|
node-version: 'lts/*'
|
||||||
|
|
||||||
- name: install tools
|
- name: Install tools
|
||||||
run: npm install
|
run: npm install
|
||||||
|
|
||||||
- name: lint code
|
- name: Lint code
|
||||||
run: npm run lint
|
run: npm run lint
|
||||||
|
|
||||||
- name: format code
|
- name: Format code
|
||||||
run: |
|
run: |
|
||||||
npm run format
|
npm run format
|
||||||
git diff --exit-code
|
git diff --exit-code
|
||||||
|
|
Loading…
Reference in a new issue