From 1cb11cf8cd2d8dd6164c43b096df540065f2d6ee Mon Sep 17 00:00:00 2001 From: Sebastian Ranoszek Date: Fri, 4 Apr 2025 16:53:53 +0200 Subject: [PATCH] Final Test --- .woodpecker/build.yaml | 30 ++++-------------------------- 1 file changed, 4 insertions(+), 26 deletions(-) diff --git a/.woodpecker/build.yaml b/.woodpecker/build.yaml index f720eab..27cdabd 100644 --- a/.woodpecker/build.yaml +++ b/.woodpecker/build.yaml @@ -1,14 +1,4 @@ steps: - - name: Lint - image: silkeh/clang:16 - commands: - - echo "Linting C++ code..." - - clang-tidy main.cpp -- -std=c++17 - when: - event: - - push - - pull_request - - name: Build image: alpine commands: @@ -17,31 +7,19 @@ steps: - echo "Building project..." - g++ -o build/main main.cpp - - name: Test - image: alpine - commands: - - echo "Running tests..." - - ./build/main - depends_on: - - Build - - name: discord notification image: appleboy/drone-discord settings: webhook_id: 1357683988373704824 webhook_token: wtAZM1Ps4upFV0Z5_HJKzWkJ19-lj0tagEwPofOJN4O3OHuET309RTkKQgakDWVrl0Ml message: > - Repository {{repo.name}} - Owner {{repo.owner}} - Build Message {{build.message}} - Commiter: {{build.author}} {{#success build.status}} - build {{build.number}} succeeded. Good job. + build {{build.number}} succeeded. Good job. {{else}} - build {{build.number}} failed. Fix me please. + build {{build.number}} failed. Fix me please. {{/success}} - depends_on: - - Build + depends_on: + - Build - name: Release image: plugins/gitea-release