[🧪] Test build on refs/pull/3237/merge
#7371
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: '[🧪] Test build' | |
run-name: '[🧪] Test build on `${{ github.ref }}`' | |
on: | |
push: | |
branches: | |
- master | |
- dev | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: | |
- ubuntu-24.04 | |
- ubuntu-22.04 | |
- macos-14 | |
- macos-13 | |
runs-on: ${{ matrix.os }} | |
name: '[🧪] Test Build on ${{ matrix.os }}' | |
steps: | |
- name: '[📥] checkout' | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: '[👷] run build script on git repository' | |
run: | | |
./build/build.sh --full --debug | |
- name: '[🔥] clean and remove git' | |
run: | | |
git clean -xdf | |
rm -rf .git | |
- name: '[👷] run build script on non-git directory' | |
run: | | |
./build/build.sh --full --debug | |
success: | |
needs: [build] | |
if: ${{ success() }} | |
name: '[🧪] Success' | |
runs-on: ubuntu-latest | |
steps: | |
- name: '[🥳] Success' | |
run: echo "🥳 Checks passed successfully!" |