Implement passing of bag slot for EQUIP_ERR_ITEM_DOESNT_GO_INTO_BAG2 #1813
This file contains hidden or 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: macOS Build | |
| on: [push] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) | |
| BUILD_TYPE: Release | |
| REPO_DIR: ${{github.workspace}} | |
| BUILD_DIR: ${{github.workspace}}/bin/builddir | |
| BOOST_VERSION: "1.87.0" | |
| BOOST_PLATFORM_VERSION: "14" | |
| HOMEBREW_NO_AUTO_UPDATE: 1 | |
| HOMEBREW_NO_INSTALL_CLEANUP: 1 | |
| SCCACHE_GHA_ENABLED: "true" | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: macos-14 | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| path: ${{env.REPO_DIR}} | |
| - name: Setup sccache | |
| uses: mozilla-actions/sccache-action@v0.0.10 | |
| - name: Install Dependencies | |
| run: | | |
| brew install mysql-client@8.4 | |
| brew install openssl | |
| brew install icu4c@78 | |
| brew link icu4c@78 --force | |
| echo "OPENSSL_ROOT_DIR=$(brew --prefix --installed openssl)" >> $GITHUB_ENV | |
| - name: Install Boost | |
| uses: MarkusJx/install-boost@v2.6.0 | |
| id: install-boost | |
| with: | |
| boost_version: ${{env.BOOST_VERSION}} | |
| platform_version: ${{env.BOOST_PLATFORM_VERSION}} | |
| toolset: clang | |
| arch: aarch64 | |
| - name: Configure | |
| env: | |
| BOOST_ROOT: ${{ steps.install-boost.outputs.BOOST_ROOT }} | |
| CMAKE_PREFIX_PATH: /opt/homebrew | |
| run: cmake -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -B ${{env.BUILD_DIR}} -S ${{env.REPO_DIR}} -DBoost_ARCHITECTURE=-arm64 -DCMAKE_POLICY_VERSION_MINIMUM=3.5 | |
| - name: Build | |
| run: cmake --build ${{env.BUILD_DIR}} --config ${{env.BUILD_TYPE}} --parallel 3 | |
| - name: sccache stats | |
| if: always() | |
| run: sccache --show-stats | |
| notify: | |
| permissions: | |
| contents: none | |
| name: Send Notification to Discord on Failure | |
| runs-on: ubuntu-latest | |
| needs: | |
| - build | |
| if: failure() | |
| steps: | |
| - name: Setup Environmental Variables | |
| run: | | |
| echo "GIT_BRANCH=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV | |
| echo "GIT_SHORT_SHA=`echo ${GITHUB_SHA} | cut -c1-8`" >> $GITHUB_ENV | |
| - name: Notify | |
| uses: rjstone/discord-webhook-notify@v2.2.1 | |
| with: | |
| severity: error | |
| description: | | |
| **macOS Build Failed** | |
| details: | | |
| - **Branch:** ${{env.GIT_BRANCH}} | |
| - **Pusher:** ${{github.event.pusher.name}} | |
| - **Author:** ${{github.event.head_commit.author.name}} | |
| - **Commit:** [${{github.repository}}/${{env.GIT_SHORT_SHA}}](${{github.server_url}}/${{ github.repository }}/commit/${{github.sha}}) | |
| - **Build Log:** [actions/runs/${{github.run_id}}](${{github.server_url}}/${{github.repository}}/actions/runs/${{github.run_id}}) | |
| footer: CMaNGOS Developers Notified! | |
| webhookUrl: ${{ secrets.DISCORD_WEBHOOK }} |