Refactor system dependencies installation in linux-alpha-build.yml

This commit is contained in:
mauro-balades
2024-09-07 22:27:48 +02:00
parent 54b34d86b7
commit 06b51725b0
2 changed files with 4 additions and 5 deletions

View File

@@ -1,4 +1,3 @@
on:
workflow_call:
inputs:
@@ -6,7 +5,7 @@ on:
description: 'The version to build'
required: true
type: string
jobs:
build-linux:
environment: production
@@ -44,11 +43,11 @@ jobs:
- name: Install system dependencies
run: |
set -x
sudo apt-get update --fix-missing
sudo apt-get update
sudo apt-get install dos2unix yasm nasm build-essential libgtk2.0-dev libpython3-dev m4 uuid libasound2-dev libcurl4-openssl-dev libdbus-1-dev libdrm-dev libdbus-glib-1-dev libdbus-glib-1-dev libgtk-3-dev libpulse-dev libx11-xcb-dev libxt-dev xvfb lld llvm
pip install pycairo testresources
- name: Configure sccache
uses: actions/github-script@v7
with:
@@ -131,7 +130,6 @@ jobs:
- name: Upload binary
uses: actions/upload-artifact@v4
with:
name: zen.linux-${{ matrix.generic == true && 'generic' || 'specific' }}.tar.bz2
path: ./zen.linux-${{ matrix.generic == true && 'generic' || 'specific' }}.tar.bz2

View File

@@ -7,5 +7,6 @@ engine/
**/*.svg
src/browser/app/profile/*.js
pnpm-lock.yaml
**/engine/