summaryrefslogtreecommitdiff
path: root/.woodpecker.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.woodpecker.yaml')
-rw-r--r--.woodpecker.yaml38
1 files changed, 19 insertions, 19 deletions
diff --git a/.woodpecker.yaml b/.woodpecker.yaml
index 343c5ce..a0834cb 100644
--- a/.woodpecker.yaml
+++ b/.woodpecker.yaml
@@ -41,22 +41,22 @@ steps:
event: [ push, pull_request ]
# Step 3: Build for aarch64 architecture
- build-aarch64:
- image: ubuntu:latest
- commands:
- # Install dependencies including aarch64 cross-compiler
- - apt-get update && apt-get install -y curl git gcc-aarch64-linux-gnu
- # Install Rust toolchain
- - curl https://sh.rustup.rs -sSf | sh -s -- -y
- # Source the cargo environment
- - source "$HOME/.cargo/env"
- # Add the aarch64 target
- - rustup target add aarch64-unknown-linux-gnu
- # Configure the linker for aarch64 target in Cargo config
- - echo '[target.aarch64-unknown-linux-gnu]' >> "$HOME/.cargo/config.toml"
- - echo 'linker = "aarch64-linux-gnu-gcc"' >> "$HOME/.cargo/config.toml"
- # Build for aarch64 target
- - cargo build --target aarch64-unknown-linux-gnu --release --verbose --jobs 2
- when:
- branch: main
- event: [ push, pull_request ] \ No newline at end of file
+ # build-aarch64:
+ # image: ubuntu:latest
+ # commands:
+ # # Install dependencies including aarch64 cross-compiler
+ # - apt-get update && apt-get install -y curl git gcc-aarch64-linux-gnu
+ # # Install Rust toolchain
+ # - curl https://sh.rustup.rs -sSf | sh -s -- -y
+ # # Source the cargo environment
+ # - source "$HOME/.cargo/env"
+ # # Add the aarch64 target
+ # - rustup target add aarch64-unknown-linux-gnu
+ # # Configure the linker for aarch64 target in Cargo config
+ # - echo '[target.aarch64-unknown-linux-gnu]' >> "$HOME/.cargo/config.toml"
+ # - echo 'linker = "aarch64-linux-gnu-gcc"' >> "$HOME/.cargo/config.toml"
+ # # Build for aarch64 target
+ # - cargo build --target aarch64-unknown-linux-gnu --release --verbose --jobs 2
+ # when:
+ # branch: main
+ # event: [ push, pull_request ] \ No newline at end of file