Browse Source

Switched package generation from Ubuntu 16.04 to Debian stretch

tastytea 2 weeks ago
parent
commit
75680b3739
Signed by: tastytea <tastytea@tastytea.de> GPG Key ID: CFC39497F1B26E07
2 changed files with 15 additions and 35 deletions
  1. 12
    34
      .drone.yml
  2. 3
    1
      README.md

+ 12
- 34
.drone.yml View File

@@ -1,36 +1,4 @@
1 1
 pipeline:
2
-  build_package:
3
-    image: ubuntu:xenial
4
-    pull: true
5
-    when:
6
-      event: tag
7
-    environment:
8
-      - LANG=C.utf8
9
-      - CXX=g++-5
10
-      - CXXFLAGS=-pipe -O2
11
-    commands:
12
-      - rm /etc/apt/apt.conf.d/docker-clean
13
-      - apt-get update -q
14
-      - apt-get install -qy g++-5 cmake pkg-config
15
-      - apt-get install -qy libcrypto++-dev libmagick++-dev libxdg-basedir-dev
16
-      - apt-get install -qy dpkg-dev d-shlibs rpm file wget
17
-      - gpg --import /var/autosign_gpg.key
18
-      - rm -rf build && mkdir -p build && cd build
19
-      - cmake -DCMAKE_INSTALL_PREFIX=/usr ..
20
-      - make VERBOSE=1
21
-      - make install DESTDIR=install
22
-      - make package
23
-      - cmake -DWITH_DEB=ON ..
24
-      - make package
25
-      - cmake -DWITH_DEB=OFF -DWITH_RPM=ON ..
26
-      - make package
27
-      - gpg --verbose --detach-sign *.tar.gz
28
-      - gpg --verbose --detach-sign *.deb
29
-      - gpg --verbose --detach-sign *.rpm
30
-    volumes:
31
-      - /var/cache/debian-package-cache:/var/cache/apt/archives
32
-      - /home/tastytea/misc/autosign_gpg.key:/var/autosign_gpg.key
33
-
34 2
   gcc5:
35 3
     image: debian:stretch-slim
36 4
     pull: true
@@ -61,8 +29,6 @@ pipeline:
61 29
   gcc6:
62 30
     image: debian:stretch-slim
63 31
     pull: true
64
-    when:
65
-      event: [push, pull_request]
66 32
     environment:
67 33
       - LANG=C.utf8
68 34
       - CXX=g++-6
@@ -72,11 +38,23 @@ pipeline:
72 38
       - apt-get update -q
73 39
       - apt-get install -qy g++-6 cmake pkg-config
74 40
       - apt-get install -qy libcrypto++-dev libmagick++-dev libxdg-basedir-dev
41
+      - apt-get install -qy dpkg-dev d-shlibs rpm file wget
42
+      - gpg --no-tty --import /var/autosign_gpg.key
75 43
       - rm -rf build && mkdir -p build && cd build
76 44
       - cmake -DCMAKE_INSTALL_PREFIX=/usr ..
77 45
       - make VERBOSE=1
46
+      - make install DESTDIR=install
47
+      - make package
48
+      - cmake -DWITH_DEB=ON ..
49
+      - make package
50
+      - cmake -DWITH_DEB=OFF -DWITH_RPM=ON ..
51
+      - make package
52
+      - gpg --verbose --detach-sign *.tar.gz
53
+      - gpg --verbose --detach-sign *.deb
54
+      - gpg --verbose --detach-sign *.rpm
78 55
     volumes:
79 56
       - /var/cache/debian-package-cache:/var/cache/apt/archives
57
+      - /home/tastytea/misc/autosign_gpg.key:/var/autosign_gpg.key
80 58
 
81 59
   gcc7:
82 60
     image: debian:stretch-slim

+ 3
- 1
README.md View File

@@ -128,9 +128,11 @@ formats:
128 128
 * rpm
129 129
 * tar.gz
130 130
 
131
-They are generated on Ubuntu 16.04 64 bit and signed with my
131
+They are generated on Debian Stretch 64 bit and signed with my
132 132
 [automatic signing key](https://tastytea.de/tastytea_autosign.asc).
133 133
 
134
+Up to and including 0.6.2, the packages were generated on Ubuntu 16.04 64 bit.
135
+
134 136
 ### From source
135 137
 
136 138
 #### Dependencies

Loading…
Cancel
Save