making some more verbose logs... in the mac workflow

This commit is contained in:
2024-10-19 12:30:11 -04:00
parent 9fd5df839f
commit a62e996943

View File

@@ -4,6 +4,7 @@ on:
push: push:
branches: branches:
- '**' - '**'
- '**'
pull_request: pull_request:
branches: branches:
- '**' - '**'
@@ -14,20 +15,38 @@ jobs:
runs-on: macos-latest runs-on: macos-latest
steps: steps:
- uses: actions/checkout@v3 - name: Checkout repository
uses: actions/checkout@v3
- name: List directory contents
run: ls -R
- name: Set up environment - name: Set up environment
run: | run: |
brew install bash brew install bash
echo "Bash version: $(bash --version)"
- name: Check build script
run: |
ls -l ./scripts/build_sokol_library.sh || echo "build_sokol_library.sh not found in ./scripts/"
- name: Run build script - name: Run build script
run: | run: |
chmod +x ./scripts/build_sokol_library.sh if [ -f "./scripts/build_sokol_library.sh" ]; then
./scripts/build_sokol_library.sh chmod +x ./scripts/build_sokol_library.sh
./scripts/build_sokol_library.sh
else
echo "Error: build_sokol_library.sh not found"
exit 1
fi
shell: bash shell: bash
- name: List build artifacts
run: ls -R ./build || echo "build directory not found"
- name: Upload artifacts - name: Upload artifacts
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: macos-build name: macos-build
path: ./build/ path: ./build/
if-no-files-found: error if-no-files-found: warn