This commit is contained in:
parent
37792f3477
commit
ffd4b0b732
1 changed files with 2 additions and 2 deletions
|
@ -13,14 +13,14 @@ steps:
|
||||||
- mkdir -p ~/.cache/woodpecker/cmake
|
- mkdir -p ~/.cache/woodpecker/cmake
|
||||||
- cmake -DCMAKE_BUILD_TYPE=Release -Bbuild -H.
|
- cmake -DCMAKE_BUILD_TYPE=Release -Bbuild -H.
|
||||||
- cmake --build build --target all
|
- cmake --build build --target all
|
||||||
- ls build/
|
- ls -l build/main
|
||||||
|
|
||||||
# Run tests
|
# Run tests
|
||||||
- cd build && ctest --output-on-failure
|
- cd build && ctest --output-on-failure
|
||||||
|
|
||||||
# Create the release directory
|
# Create the release directory
|
||||||
- mkdir -p release
|
- mkdir -p release
|
||||||
- cp build/main release/
|
- cp $(realpath build/main) release/
|
||||||
|
|
||||||
# Step 2: Cache Dependencies to Speed Up Builds
|
# Step 2: Cache Dependencies to Speed Up Builds
|
||||||
- name: cache
|
- name: cache
|
||||||
|
|
Loading…
Add table
Reference in a new issue