Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
bitmask-vpn
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
leap
bitmask-vpn
Commits
75ffbaa1
Verified
Commit
75ffbaa1
authored
7 months ago
by
Pea Nut
Browse files
Options
Downloads
Patches
Plain Diff
ci: build deb packages for Debian 12, Ubuntu 22.04 and Ubuntu 24.04
parent
49ac3bb3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!251
ci: Create packages for Debian12, Ubuntu 24.04 and Ubuntu 22.04 in CI, fixes #858
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+73
-0
73 additions, 0 deletions
.gitlab-ci.yml
with
73 additions
and
0 deletions
.gitlab-ci.yml
+
73
−
0
View file @
75ffbaa1
...
...
@@ -62,3 +62,76 @@ arch:
expire_in
:
1 week
tags
:
-
linux
build_debian12_package
:
stage
:
package
# we use backports because we need go1.22
image
:
debian:bookworm-backports
before_script
:
-
"
apt-get
update
&&
DEBIAN_FRONTEND=noninteractive
apt-get
install
-q
-y
make
sudo"
-
"
make
depends"
-
"
DEBIAN_FRONTEND=noninteractive
apt-get
install
-y
-q
golang-1.22"
-
"
update-alternatives
--install
/usr/bin/go
go
/usr/lib/go-1.22/bin/go
0"
-
'
ln
-s
$(qmake6
-query
"QT_INSTALL_BINS")/lrelease
/usr/local/bin/lrelease'
-
"
patch
-p1
<
docker/*.patch"
script
:
-
"
PROVIDER=bitmask
make
vendor"
-
"
PROVIDER=bitmask
QMAKE=qmake6
make
package_deb"
-
"
make
clean"
-
"
PROVIDER=riseup
make
vendor"
-
"
PROVIDER=riseup
QMAKE=qmake6
make
package_deb"
after_script
:
-
"
mv
deploy/*.deb
build/riseup/build"
artifacts
:
paths
:
-
"
build/riseup/build/"
expire_in
:
1 week
tags
:
-
linux
build_ubuntu22_package
:
stage
:
package
image
:
ubuntu:22.04
before_script
:
-
"
apt-get
update
&&
DEBIAN_FRONTEND=noninteractive
apt-get
install
-q
-y
software-properties-common
make
sudo"
-
"
add-apt-repository
ppa:longsleep/golang-backports
-y"
-
"
DEBIAN_FRONTEND=noninteractive
apt-get
install
-y
-q
golang-go"
-
"
make
depends"
-
'
ln
-s
$(qmake6
-query
"QT_INSTALL_BINS")/lrelease
/usr/local/bin/lrelease'
-
"
patch
-p1
<
docker/*.patch"
script
:
-
"
PROVIDER=bitmask
make
vendor"
-
"
PROVIDER=bitmask
QMAKE=qmake6
make
package_deb"
-
"
make
clean"
-
"
PROVIDER=riseup
make
vendor"
-
"
PROVIDER=riseup
QMAKE=qmake6
make
package_deb"
after_script
:
-
"
mv
deploy/*.deb
build/riseup/build"
artifacts
:
paths
:
-
"
build/riseup/build/"
expire_in
:
1 week
tags
:
-
linux
build_ubuntu24_package
:
stage
:
package
image
:
ubuntu:24.04
before_script
:
-
"
apt-get
update
&&
DEBIAN_FRONTEND=noninteractive
apt-get
install
-q
-y
make
sudo"
-
"
make
depends"
-
'
ln
-s
$(qmake6
-query
"QT_INSTALL_BINS")/lrelease
/usr/local/bin/lrelease'
script
:
-
"
PROVIDER=bitmask
make
vendor"
-
"
PROVIDER=bitmask
QMAKE=qmake6
make
package_deb"
-
"
make
clean"
-
"
PROVIDER=riseup
make
vendor"
-
"
PROVIDER=riseup
QMAKE=qmake6
make
package_deb"
after_script
:
-
"
mv
deploy/*.deb
build/riseup/build"
artifacts
:
paths
:
-
"
build/riseup/build/"
expire_in
:
1 week
tags
:
-
linux
This diff is collapsed.
Click to expand it.
Pea Nut
@peanut2
mentioned in merge request
!252 (closed)
·
7 months ago
mentioned in merge request
!252 (closed)
mentioned in merge request !252
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment