ci(docker): fix debian arm builds (#3627)
This commit is contained in:
2
.github/workflows/ci-docker.yml
vendored
2
.github/workflows/ci-docker.yml
vendored
@@ -123,7 +123,7 @@ jobs:
|
|||||||
docker:
|
docker:
|
||||||
needs: [check_dockerfiles, setup_release]
|
needs: [check_dockerfiles, setup_release]
|
||||||
if: ${{ needs.check_dockerfiles.outputs.dockerfiles }}
|
if: ${{ needs.check_dockerfiles.outputs.dockerfiles }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
permissions:
|
permissions:
|
||||||
packages: write
|
packages: write
|
||||||
contents: write
|
contents: write
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ set -e
|
|||||||
|
|
||||||
# Default value for arguments
|
# Default value for arguments
|
||||||
appimage_build=0
|
appimage_build=0
|
||||||
|
num_processors=$(nproc)
|
||||||
publisher_name="Third Party Publisher"
|
publisher_name="Third Party Publisher"
|
||||||
publisher_website=""
|
publisher_website=""
|
||||||
publisher_issue_url="https://app.lizardbyte.dev/support"
|
publisher_issue_url="https://app.lizardbyte.dev/support"
|
||||||
@@ -27,6 +28,7 @@ Options:
|
|||||||
-h, --help Display this help message.
|
-h, --help Display this help message.
|
||||||
-s, --sudo-off Disable sudo command.
|
-s, --sudo-off Disable sudo command.
|
||||||
--appimage-build Compile for AppImage, this will not create the AppImage, just the executable.
|
--appimage-build Compile for AppImage, this will not create the AppImage, just the executable.
|
||||||
|
--num-processors The number of processors to use for compilation. Default is the value of 'nproc'.
|
||||||
--publisher-name The name of the publisher (not developer) of the application.
|
--publisher-name The name of the publisher (not developer) of the application.
|
||||||
--publisher-website The URL of the publisher's website.
|
--publisher-website The URL of the publisher's website.
|
||||||
--publisher-issue-url The URL of the publisher's support site or issue tracker.
|
--publisher-issue-url The URL of the publisher's support site or issue tracker.
|
||||||
@@ -53,6 +55,9 @@ while getopts ":hs-:" opt; do
|
|||||||
appimage_build=1
|
appimage_build=1
|
||||||
skip_libva=1
|
skip_libva=1
|
||||||
;;
|
;;
|
||||||
|
num-processors=*)
|
||||||
|
num_processors="${OPTARG#*=}"
|
||||||
|
;;
|
||||||
publisher-name=*)
|
publisher-name=*)
|
||||||
publisher_name="${OPTARG#*=}"
|
publisher_name="${OPTARG#*=}"
|
||||||
;;
|
;;
|
||||||
@@ -367,7 +372,7 @@ function run_install() {
|
|||||||
tar -xzf "${build_dir}/doxygen.tar.gz"
|
tar -xzf "${build_dir}/doxygen.tar.gz"
|
||||||
cd "doxygen-${doxygen_min}"
|
cd "doxygen-${doxygen_min}"
|
||||||
cmake -DCMAKE_BUILD_TYPE=Release -G="Ninja" -B="build" -S="."
|
cmake -DCMAKE_BUILD_TYPE=Release -G="Ninja" -B="build" -S="."
|
||||||
ninja -C "build"
|
ninja -C "build" -j"${num_processors}"
|
||||||
ninja -C "build" install
|
ninja -C "build" install
|
||||||
else
|
else
|
||||||
echo "Doxygen version too low, skipping docs"
|
echo "Doxygen version too low, skipping docs"
|
||||||
|
|||||||
Reference in New Issue
Block a user