Skip to content

VPN-5560 - Do not run auth_tests on PRs #15468

VPN-5560 - Do not run auth_tests on PRs

VPN-5560 - Do not run auth_tests on PRs #15468

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
- name: Install source dependencies
shell: bash
run: |
sudo apt-get install golang debhelper -y
pip3 install -r requirements.txt
- 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
rpmbuild:
name: RPM Packages
needs: source-bundle
runs-on: ubuntu-latest
container:
image: fedora:37
steps:
- name: Download Source Package
uses: actions/download-artifact@v3
with:
name: Sources
- name: Install Build Dependencies
run: |
yum -y install rpm-build rpmdevtools yum-utils
yum-builddep -y 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/