config 4.55 KB
Newer Older
boklm's avatar
boklm committed
1
2
3
# vim: filetype=yaml sw=2
version: '[% c("abbrev") %]'
filename: 'firefox-[% c("version") %]-[% c("var/osname") %]-[% c("var/build_id") %]'
4
git_hash: 'tor-browser-[% c("var/firefox_version") %]-[% c("var/torbrowser_branch") %]-1-build2'
5
tag_gpg_id: 1
boklm's avatar
boklm committed
6
git_url: https://git.torproject.org/tor-browser.git
7
git_submodule: 1
boklm's avatar
boklm committed
8
9
10
gpg_keyring: torbutton.gpg

var:
11
  firefox_platform_version: 78.2.0
12
  firefox_version: '[% c("var/firefox_platform_version") %]esr'
13
  torbrowser_branch: 10.0
Georg Koppen's avatar
Georg Koppen committed
14
  branding_directory: 'browser/branding/alpha'
15
  copyright_year: '[% exec("git show -s --format=%ci").remove("-.*") %]'
boklm's avatar
boklm committed
16
17
18
19
20
21
  deps:
    - build-essential
    - unzip
    - zip
    - autoconf2.13
    - yasm
22
23
24
    # We are building our own version of Python 3.6, which is required
    # for the build. However mach still requires Python 2.7, so we
    # install this version using the package.
boklm's avatar
boklm committed
25
    - python
26
    - pkg-config
boklm's avatar
boklm committed
27
28
  container:
    use_container: 1
29
  # this should be updated when the list of gradle dependencies is changed
30
  gradle_dependencies_version: 6
31
32
  # used by projects/firefox-locale-bundle
  l10n-changesets.json: '[% exec("cat mobile/locales/l10n-changesets.json") %]'
boklm's avatar
boklm committed
33

34
35
36
37
38
39
40
41
42
43
44
45
steps:
  src-tarballs:
    filename: 'src-[% project %]-[% c("version") %].tar.xz'
    version: '[% c("git_hash") %]'
    input_files: []
    var:
      container:
        use_container: 0
    targets:
      nightly:
        version: '[% c("abbrev") %]'

boklm's avatar
boklm committed
46
targets:
47
48
  release:
    var:
Georg Koppen's avatar
Georg Koppen committed
49
      branding_directory: 'browser/branding/official'
50

51
  nightly:
52
    git_hash: 'tor-browser-[% c("var/firefox_version") %]-[% c("var/torbrowser_branch") %]-1'
53
54
    tag_gpg_id: 0
    var:
Georg Koppen's avatar
Georg Koppen committed
55
      branding_directory: 'browser/branding/nightly'
56

57
58
59
60
61
62
63
64
65
  linux:
    var:
      post_pkginst: |
        # Firefox ESR68 needs Yasm >= 1.2.0 which Debian Wheezy ships in backports.
        echo 'deb http://archive.debian.org/debian/ wheezy-backports main' >> /etc/apt/sources.list
        export DEBIAN_FRONTEND=noninteractive
        apt-get update
        apt-get install -t wheezy-backports -y yasm

66
  linux-x86_64:
boklm's avatar
boklm committed
67
    var:
68
      martools_filename: mar-tools-linux64.zip
boklm's avatar
boklm committed
69
70
      arch_deps:
        - libgtk2.0-dev
71
        - libgtk-3-dev
boklm's avatar
boklm committed
72
73
74
75
76
        - libdbus-glib-1-dev
        - libxt-dev
        - hardening-wrapper
        # To pass configure since ESR 31.
        - libpulse-dev
77
78
        # To pass configure since ESR 52
        - libx11-xcb-dev
boklm's avatar
boklm committed
79
80
81
82

  linux-i686:
    var:
      martools_filename: mar-tools-linux32.zip
83
84
85
86
87
88
      sort_deps: 0
      arch_deps:
        - libgtk2.0-dev:i386
        - libgtk-3-dev:i386
        - libdbus-glib-1-dev:i386
        - libxt-dev:i386
89
        - hardening-wrapper
90
91
92
93
        # To pass configure since ESR 31.
        - libpulse-dev:i386
        # To pass configure since ESR 52
        - libx11-xcb-dev:i386
boklm's avatar
boklm committed
94
95
96
97
98
99
100

  osx-x86_64:
    var:
      martools_filename: mar-tools-mac64.zip
      arch_deps:
        - rsync

101
102
103
104
  windows:
    var:
      arch_deps:
        - wine
105
      compiler: mingw-w64-clang
106

boklm's avatar
boklm committed
107
108
109
110
  windows-i686:
    var:
      martools_filename: mar-tools-win32.zip

111
112
113
114
  windows-x86_64:
    var:
      martools_filename: mar-tools-win64.zip

boklm's avatar
boklm committed
115
input_files:
boklm's avatar
boklm committed
116
  - project: container-image
boklm's avatar
boklm committed
117
118
  - name: '[% c("var/compiler") %]'
    project: '[% c("var/compiler") %]'
119
  - filename: get-moz-build-date
120
  - filename: 'mozconfig-[% c("var/osname") %][% IF c("var/asan") %]-asan[% END %]'
boklm's avatar
boklm committed
121
122
123
    name: mozconfig
  - project: binutils
    name: binutils
Georg Koppen's avatar
Georg Koppen committed
124
    enable: '[% c("var/linux") %]'
boklm's avatar
boklm committed
125
126
  - filename: fix-info-plist.py
    enable: '[% c("var/osx") %]'
127
128
  - filename: nsis-uninstall.patch
    enable: '[% c("var/windows") %]'
129
130
  - project: rust
    name: rust
131
132
  - project: cbindgen
    name: cbindgen
133
134
135
136
137
138
  - project: wasi-sysroot
    name: wasi-sysroot
    enable: '[% c("var/rlbox") %]'
  - project: lucetc
    name: lucetc
    enable: '[% c("var/rlbox") %]'
139
140
141
142
143
144
145
146
  - project: node
    name: node
  - project: nasm
    name: nasm
  - project: python
    name: python
  - project: clang
    name: clang
147
148
149
  - project: fxc2
    name: fxc2
    enable: '[% c("var/windows") %]'
Georg Koppen's avatar
Georg Koppen committed
150
151
    target_prepend:
      - torbrowser-windows-x86_64
152
153
154
  - name: mingw-w64
    project: mingw-w64
    enable: '[% c("var/windows") %]'
155
156
  - filename: abicheck.cc
    enable: '[% c("var/linux") %]'
157
158
  - filename: start-firefox
    enable: '[% c("var/linux") %]'
159
160
  - project: tor-launcher
    name: tor-launcher
boklm's avatar
boklm committed
161
162
  - filename: nightly-marsigner.der
    enable: '[% c("var/nightly") %]'
163
164
165
166
167
  - filename: namecoin-torbutton.patch
    enable: '[% c("var/namecoin") %]'
    # TorButton patch authored by Arthur Edelstein, from https://github.com/arthuredelstein/torbutton/ branch 2.1.10-namecoin
  - filename: namecoin-etld.patch
    enable: '[% c("var/namecoin") %]'