Skip to content

Commit 041f2ed

Browse files
aastefanovkrokodilerian
authored andcommitted
Add circleci config
1 parent 52b0f0a commit 041f2ed

1 file changed

Lines changed: 55 additions & 0 deletions

File tree

.circleci/config.yml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
---
2+
version: 2.1
3+
4+
executors:
5+
debian:
6+
docker:
7+
- image: debian:bookworm
8+
ruby:
9+
docker:
10+
- image: circleci/ruby:latest
11+
12+
jobs:
13+
build:
14+
executor: debian
15+
16+
steps:
17+
- run: apt-get update
18+
- run: apt-get -y install build-essential git openssh-client dpkg-dev debhelper dh-python pybuild-plugin-pyproject python3-all python3-setuptools
19+
- checkout
20+
- run: make -f debian/rules binary
21+
- run: mkdir -p /root/build
22+
- run: mv ../*.deb /root/build
23+
- persist_to_workspace:
24+
root: /root/build
25+
paths:
26+
- .
27+
- store_artifacts:
28+
path: /root/build
29+
30+
package:
31+
executor: ruby
32+
33+
steps:
34+
- attach_workspace:
35+
at: .
36+
- run: gem install package_cloud
37+
- run: find .
38+
- run: package_cloud push fosdem/video-team/debian/bookworm *deb
39+
40+
workflows:
41+
version: 2
42+
python-osc:
43+
jobs:
44+
- build:
45+
filters:
46+
tags:
47+
only: /.*/
48+
- package:
49+
requires:
50+
- build
51+
filters:
52+
tags:
53+
only: /^v.*/
54+
branches:
55+
ignore: /.*/

0 commit comments

Comments
 (0)