Skip to content

Commit

Permalink
refactor(ci): prefer ninja over make
Browse files Browse the repository at this point in the history
  • Loading branch information
Curve committed May 12, 2024
1 parent 2ea6cbd commit 7eacac5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM fedora:38

# Build dependencies

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

# PNPM
Expand Down
7 changes: 7 additions & 0 deletions docker/build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
#!/bin/bash

# Ensure pnpm is loaded
source /root/.bashrc

# Let's get to work!
cd /work

# Export Threads for Make and Ninja
export MAKEFLAGS=-j$(nproc)
export PARALLEL_LEVEL=$(nproc)

pnpm install --ignore-scripts && pnpm run install

0 comments on commit 7eacac5

Please sign in to comment.