Skip to content

Commit 7eacac5

Browse files
committed
refactor(ci): prefer ninja over make
1 parent 2ea6cbd commit 7eacac5

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

docker/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ FROM fedora:38
44

55
# Build dependencies
66

7-
RUN dnf install -y make automake gcc gcc-c++ kernel-devel cmake git nodejs libstdc++-static
7+
RUN dnf install -y make automake gcc gcc-c++ kernel-devel cmake git nodejs libstdc++-static ninja-build
88
RUN dnf install -y pipewire-devel pipewire-libs pulseaudio-libs-devel pipewire-pulseaudio
99

1010
# PNPM

docker/build.sh

+7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
#!/bin/bash
22

3+
# Ensure pnpm is loaded
34
source /root/.bashrc
45

6+
# Let's get to work!
57
cd /work
8+
9+
# Export Threads for Make and Ninja
10+
export MAKEFLAGS=-j$(nproc)
11+
export PARALLEL_LEVEL=$(nproc)
12+
613
pnpm install --ignore-scripts && pnpm run install

0 commit comments

Comments
 (0)