mirror of
https://github.com/Ed94/VEFontCache-Odin.git
synced 2025-08-06 06:52:44 -07:00
worfklow: make sure nproc is installed
This commit is contained in:
13
.github/workflows/macos_build.yaml
vendored
13
.github/workflows/macos_build.yaml
vendored
@@ -21,7 +21,7 @@ jobs:
|
|||||||
- name: List directory contents
|
- name: List directory contents
|
||||||
run: ls -R
|
run: ls -R
|
||||||
|
|
||||||
- name: Check for Git and install if necessary
|
- name: Set up environment
|
||||||
run: |
|
run: |
|
||||||
if ! command -v git &> /dev/null; then
|
if ! command -v git &> /dev/null; then
|
||||||
echo "Git not found. Installing Git..."
|
echo "Git not found. Installing Git..."
|
||||||
@@ -31,14 +31,15 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
git --version
|
git --version
|
||||||
|
|
||||||
- name: Set up environment
|
|
||||||
run: |
|
|
||||||
brew install bash
|
brew install bash
|
||||||
echo "Bash version: $(bash --version)"
|
echo "Bash version: $(bash --version)"
|
||||||
|
|
||||||
# - name: Check build script
|
if command -v nproc &> /dev/null; then
|
||||||
# run: |
|
echo "nproc is installed. Number of processors: $(nproc)"
|
||||||
# ls -l ./scripts/build_sokol_demo.sh || echo "build_sokol_demo.sh not found in ./scripts/"
|
else
|
||||||
|
echo "Error: nproc installation failed"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Run build script
|
- name: Run build script
|
||||||
run: |
|
run: |
|
||||||
|
Reference in New Issue
Block a user