Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
Help Center/ CodeArts Build/ Getting Started/ Building with CMake and Uploading the Package to a Release Repo (Arm, Preset Image, GUI)

Building with CMake and Uploading the Package to a Release Repo (Arm, Preset Image, GUI)

Updated on 2024-11-21 GMT+08:00

In this section, you use CodeArts Build to build a project with CMake in an Arm environment and upload the resulting software package to a release repo.

Prerequisites

  • You have registered with Huawei Cloud and completed real-name authentication. If you do not have a HUAWEI ID yet, follow these steps to create one:
    1. Visit Huawei Cloud official website.
    2. Click Sign Up and create your account as instructed.

      Once your account is created, the system automatically redirects you to your personal information page.

    3. Complete individual or enterprise real-name authentication. For details, see Real-Name Authentication.
  • You have enabled CodeArts Free Edition. If not, enable it by referring to Purchasing a CodeArts Package.

Creating a CodeArts Repo Repository

  1. Log in to the Huawei Cloud console with your Huawei Cloud account.
  2. Click in the upper left corner and choose Developer Services > CodeArts Build from the service list.
  3. Click Access Service. The homepage of CodeArts Build is displayed. On the navigation bar, click Homepage.
  4. Click Create Project, and select the Scrum template. Set the project name to Scrum01 and keep the default values for other parameters. Click OK to access the project.
  5. In the navigation pane, choose Code > Repo.
  6. On the displayed page, click New Repository. Select Template, and click Next.
  7. You will then be redirected to the Create Template Repository page. In the Select Repository Template stage, search for Cpp Demo and select the template. Click Next.
  8. Set Repository Name to Repo01 and keep the default values for other parameters. Click OK.

Creating a Build Task

  1. In the navigation pane, choose CICD > Build.
  2. Click Create Task. The Basic Information page is displayed.
  3. Configure the following parameters and click Next.

    Table 1 Basic information

    Parameter

    Description

    Name

    Assign a custom name to the build task, for example, BuildTask01.

    Code Source

    Select Repo.

    Repository

    Select Repo01, the code repository created in section "Creating a CodeArts Repo Repository".

    Default Branch

    Keep the default value master.

    Description

    Optional. Enter additional information to describe the build task.

  4. Select the CMake template.
  5. Click OK. On the displayed Build Actions page, set Environment to Arm (Kunpeng), retain default settings for other build actions, and click Save.

Running the Build Task

  1. Click the name of the build task.
  2. On the displayed Build History page, click Run to start the build task.

    • The following page displays a successful run of the task.

    • If the task fails, troubleshoot the issue by reviewing the prompt or analyzing the logs.

Viewing the Build Results

  1. In the navigation pane, choose Artifact > Release Repos.
  2. On the displayed page, find the folder that shares the same name as the build task (the name you specify when creating a build task). The software package can be found within this folder.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback