Skip to content

VPN-6224: Workaround to prevent default checkboxes from appearing on … #17679

VPN-6224: Workaround to prevent default checkboxes from appearing on …

VPN-6224: Workaround to prevent default checkboxes from appearing on … #17679

Workflow file for this run

name: Linux Packages
on:
push:
branches:
- main
- "releases/**"
pull_request:
branches:
- main
- "releases/**"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
source-bundle:
name: Source Bundle
runs-on: ubuntu-20.04
steps:
- name: Checkout sources
uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.9'
cache: 'pip'
- run: pip install -r requirements.txt
- name: Install source dependencies
shell: bash
run: |
sudo apt-get update
sudo apt-get install golang debhelper -y
- name: Build source bundle
shell: bash
env:
GITREF: ${{github.ref}}
run: ./scripts/linux/script.sh --source --gitref ${GITREF}
- name: Upload source bundle
uses: actions/upload-artifact@v3
with:
name: Sources
path: .tmp
flatpak:
name: Flatpak Packages
needs: source-bundle
runs-on: ubuntu-latest
steps:
- name: Download Source Package
uses: actions/download-artifact@v3
with:
name: Sources
- name: Install Flatpak Tools
shell: bash
run: |
sudo apt-get update
sudo apt-get install flatpak flatpak-builder -y
flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
- name: Installing Dependencies
shell: bash
run: |
mkdir fp-build-dir
flatpak-builder --user --install-deps-from=flathub --install-deps-only fp-build-dir org.mozilla.vpn.yml
- name: Building Flatpak
shell: bash
run: flatpak-builder --user fp-build-dir org.mozilla.vpn.yml
- name: Exporting Flatpak
shell: bash
run: |
mkdir fp-export-dir
flatpak build-export fp-export-dir fp-build-dir
flatpak build-bundle fp-export-dir mozillavpn.flatpak org.mozilla.vpn
- name: Uploading
uses: actions/upload-artifact@v3
with:
name: Flatpak Build
path: mozillavpn.flatpak
rpmbuild:
name: RPM Packages
needs: source-bundle
runs-on: ubuntu-latest
container:
image: fedora:39
steps:
- name: Download Source Package
uses: actions/download-artifact@v3
with:
name: Sources
- name: Install Build Dependencies
run: |
dnf -y install rpmdevtools 'dnf-command(builddep)'
dnf -y builddep mozillavpn.spec
- name: Building package
shell: bash
run: rpmbuild -D "_topdir $(pwd)" -D "_sourcedir $(pwd)" -ba mozillavpn.spec
- name: Uploading
uses: actions/upload-artifact@v3
with:
name: RPM Build
path: |
RPMS/
SRPMS/