| 1 |
# SPDX-FileCopyrightText: 2024 Emil Velikov <[email protected]> |
| 2 |
# SPDX-FileCopyrightText: 2024 Lucas De Marchi <[email protected]> |
| 3 |
# |
| 4 |
# SPDX-License-Identifier: LGPL-2.1-or-later |
| 5 |
|
| 6 |
name: 'setup Ubuntu' |
| 7 |
description: 'Setup an Ubuntu container for running CI' |
| 8 |
runs: |
| 9 |
using: 'composite' |
| 10 |
steps: |
| 11 |
- name: Install dependencies |
| 12 |
shell: bash |
| 13 |
run: | |
| 14 |
export DEBIAN_FRONTEND=noninteractive |
| 15 |
export TZ=Etc/UTC |
| 16 |
dpkg --add-architecture i386 |
| 17 |
apt-get update |
| 18 |
apt-get install --yes \ |
| 19 |
build-essential \ |
| 20 |
clang \ |
| 21 |
crossbuild-essential-i386 \ |
| 22 |
gcc \ |
| 23 |
git \ |
| 24 |
libudev-dev \ |
| 25 |
libudev-dev:i386 \ |
| 26 |
libusb-1.0-0-dev \ |
| 27 |
libusb-1.0-0-dev:i386 \ |
| 28 |
linux-libc-dev \ |
| 29 |
meson \ |
| 30 |
pkgconf \ |
| 31 |
pkgconf:i386 |