mirror of
https://codeberg.org/scip/subst.git
synced 2025-12-18 05:01:01 +01:00
move to codeberg (#1)
This commit is contained in:
24
.woodpecker/build.yaml
Normal file
24
.woodpecker/build.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
matrix:
|
||||
include:
|
||||
# - image: perl:5.36.0-slim-bullseye
|
||||
# - image: perl:5.38.0-slim-bookworm
|
||||
# - image: perl:5.40.0-slim-bookworm
|
||||
# - image: perl:5.42.0-slim-bookworm
|
||||
- image: perl:5.43.5-slim-bookworm
|
||||
|
||||
steps:
|
||||
test:
|
||||
when:
|
||||
event: [push]
|
||||
image: ${image}
|
||||
commands:
|
||||
- perl subst -r 's/2025/foobar/' t/file*
|
||||
- grep foobar t/file*
|
||||
- cp t/file1 t/huh.1
|
||||
- cp t/file1 t/mor.2
|
||||
- cd t
|
||||
- perl ../subst -m 's/(huh|mor)/sub/g' '/.\d$/'
|
||||
- cd ..
|
||||
- ls -l t/sub.1 t/sub.2
|
||||
- perl subst -R -m 's/sub/ord/g' t
|
||||
- ls -l t/ord.1 t/ord.2
|
||||
Reference in New Issue
Block a user