2023-11-22 11:37:31 -05:00
|
|
|
pipeline {
|
|
|
|
agent none
|
|
|
|
stages {
|
|
|
|
stage('bun') {
|
|
|
|
agent {
|
|
|
|
docker {
|
|
|
|
image 'oven/bun:1-debian'
|
|
|
|
args '-u root --privileged'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
steps {
|
2023-11-22 11:54:29 -05:00
|
|
|
sh 'bun test --coverage'
|
2023-11-22 11:37:31 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('deno') {
|
|
|
|
agent {
|
|
|
|
docker {
|
|
|
|
image 'denoland/deno'
|
|
|
|
args '-u root --privileged'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
steps {
|
2023-11-22 11:58:18 -05:00
|
|
|
sh 'wget -qO - 'https://proget.makedeb.org/debian-feeds/prebuilt-mpr.pub' | gpg --dearmor | sudo tee /usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg 1> /dev/null'
|
|
|
|
sh 'echo "deb [arch=all,$(dpkg --print-architecture) signed-by=/usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg] https://proget.makedeb.org prebuilt-mpr $(lsb_release -cs)" | sudo tee /etc/apt/sources.list.d/prebuilt-mpr.list'
|
|
|
|
sh 'apt update'
|
|
|
|
sh 'apt install -y just'
|
2023-11-22 11:37:31 -05:00
|
|
|
sh 'just deno-test'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|