From 856d3fab3e8446aa367b6b1628d7e98203338694 Mon Sep 17 00:00:00 2001 From: Chris Cranford Date: Sat, 30 Dec 2023 09:09:18 -0500 Subject: [PATCH] GH-43 Disable multi-platform build --- .github/workflows/build.yml | 254 ++++++++++++++++++------------------ 1 file changed, 127 insertions(+), 127 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f9cfaa36..72994227 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,127 +1,127 @@ -name: 🛠️ Build All -on: - push: - pull_request: - workflow_dispatch: - -jobs: - build: - runs-on: ${{ matrix.runner }} - name: ${{ matrix.name }} - - strategy: - fail-fast: false - matrix: - include: - - identifier: linux-debug - name: 🐧 Linux (Debug) - build_type: Debug - runner: ubuntu-latest - target: template_debug - platform: linux - arch: x86_64 - - identifier: linux-release - name: 🐧 Linux (Release) - build_type: Release - runner: ubuntu-latest - target: template_release - platform: linux - arch: x86_64 - - identifier: windows-debug - name: 🪟 Windows (Debug) - build_type: Debug - runner: ubuntu-latest - target: template_debug - platform: windows - arch: x86_64 - - identifier: windows-release - name: 🪟 Windows (Release) - build_type: Release - runner: ubuntu-latest - target: template_release - platform: windows - arch: x86_64 - - identifier: macos-debug - name: 🍎 MacOS (Debug) - build_type: Debug - runner: macos-latest - target: template_debug - platform: macos - - identifier: macos-release - name: 🍎 MacOS (Release) - build_type: Release - runner: macos-latest - target: template_release - platform: macos - - steps: - - - name: Checkout project - uses: actions/checkout@v3 - with: - submodules: recursive - - - name: Install Latest GCC (Windows/Linux) - if: startsWith(matrix.identifier, 'windows-') || startsWith(matrix.identifier, 'linux-') - shell: sh - run: | - sudo apt-get install gcc-13 g++-13 -y - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 100 - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-13 100 - sudo update-alternatives --config gcc - sudo update-alternatives --config g++ - - - name: Setup Windows Dependencies - if: startsWith(matrix.identifier, 'windows-') - uses: ./.github/actions/windows-deps - - - name: Setup Base Dependencies - uses: ./.github/actions/base-deps - - - name: Install Ninja (Windows/Linux) - if: startsWith(matrix.identifier, 'windows-') || startsWith(matrix.identifier, 'linux-') - shell: sh - run: | - sudo apt-get install ninja-build - - - name: Install Ninja (MacOS) - if: startsWith(matrix.identifier, 'macos-') - shell: sh - run: | - brew install ninja - - - name: ccache - uses: hendrikmuhs/ccache-action@v1.2 - with: - key: ccache-${{ matrix.identifier }} - - - name: Build Orchestrator (Linux/MacOS) - if: startsWith(matrix.identifier, 'linux-') || startsWith(matrix.identifier, 'macos-') - shell: sh - run: | - cmake -B ${{ github.workspace }}/.out-${{ matrix.identifier}} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache -S ${{ github.workspace }} -G Ninja - cmake --build ${{ github.workspace }}/.out-${{ matrix.identifier}} --target orchestrator -j 18 - ls -l project/addons/*/ - ls -l ${{ github.workspace }}/.out-${{ matrix.identifier}} - - - name: Build Orchestrator (Windows) - if: startsWith(matrix.identifier, 'windows-') - shell: sh - run: | - cmake -B ${{ github.workspace }}/.out-${{ matrix.identifier}} -DCMAKE_TOOLCHAIN_FILE=${{ github.workspace }}/toolchain-windows.cmake -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache -S ${{ github.workspace }} -G Ninja - cmake --build ${{ github.workspace }}/.out-${{ matrix.identifier}} --target orchestrator -j 18 - ls -l project/addons/*/ - ls -l ${{ github.workspace }}/.out-${{ matrix.identifier}} - - - name: Include Files - shell: sh - run: | - cp '${{ github.workspace }}/AUTHORS.md' '${{ github.workspace }}/CHANGELOG.md' '${{ github.workspace }}/README.md' '${{ github.workspace }}/LICENSE' '${{ github.workspace }}/project/addons/orchestrator/' - - - name: Upload artifact - uses: actions/upload-artifact@v3 - with: - name: ${{ github.event.repository.name }} - retention-days: 2 - path: | - ${{ github.workspace }}/project/ +#name: 🛠️ Build All +#on: +# push: +# pull_request: +# workflow_dispatch: +# +#jobs: +# build: +# runs-on: ${{ matrix.runner }} +# name: ${{ matrix.name }} +# +# strategy: +# fail-fast: false +# matrix: +# include: +# - identifier: linux-debug +# name: 🐧 Linux (Debug) +# build_type: Debug +# runner: ubuntu-latest +# target: template_debug +# platform: linux +# arch: x86_64 +# - identifier: linux-release +# name: 🐧 Linux (Release) +# build_type: Release +# runner: ubuntu-latest +# target: template_release +# platform: linux +# arch: x86_64 +# - identifier: windows-debug +# name: 🪟 Windows (Debug) +# build_type: Debug +# runner: ubuntu-latest +# target: template_debug +# platform: windows +# arch: x86_64 +# - identifier: windows-release +# name: 🪟 Windows (Release) +# build_type: Release +# runner: ubuntu-latest +# target: template_release +# platform: windows +# arch: x86_64 +# - identifier: macos-debug +# name: 🍎 MacOS (Debug) +# build_type: Debug +# runner: macos-latest +# target: template_debug +# platform: macos +# - identifier: macos-release +# name: 🍎 MacOS (Release) +# build_type: Release +# runner: macos-latest +# target: template_release +# platform: macos +# +# steps: +# +# - name: Checkout project +# uses: actions/checkout@v3 +# with: +# submodules: recursive +# +# - name: Install Latest GCC (Windows/Linux) +# if: startsWith(matrix.identifier, 'windows-') || startsWith(matrix.identifier, 'linux-') +# shell: sh +# run: | +# sudo apt-get install gcc-13 g++-13 -y +# sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 100 +# sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-13 100 +# sudo update-alternatives --config gcc +# sudo update-alternatives --config g++ +# +# - name: Setup Windows Dependencies +# if: startsWith(matrix.identifier, 'windows-') +# uses: ./.github/actions/windows-deps +# +# - name: Setup Base Dependencies +# uses: ./.github/actions/base-deps +# +# - name: Install Ninja (Windows/Linux) +# if: startsWith(matrix.identifier, 'windows-') || startsWith(matrix.identifier, 'linux-') +# shell: sh +# run: | +# sudo apt-get install ninja-build +# +# - name: Install Ninja (MacOS) +# if: startsWith(matrix.identifier, 'macos-') +# shell: sh +# run: | +# brew install ninja +# +# - name: ccache +# uses: hendrikmuhs/ccache-action@v1.2 +# with: +# key: ccache-${{ matrix.identifier }} +# +# - name: Build Orchestrator (Linux/MacOS) +# if: startsWith(matrix.identifier, 'linux-') || startsWith(matrix.identifier, 'macos-') +# shell: sh +# run: | +# cmake -B ${{ github.workspace }}/.out-${{ matrix.identifier}} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache -S ${{ github.workspace }} -G Ninja +# cmake --build ${{ github.workspace }}/.out-${{ matrix.identifier}} --target orchestrator -j 18 +# ls -l project/addons/*/ +# ls -l ${{ github.workspace }}/.out-${{ matrix.identifier}} +# +# - name: Build Orchestrator (Windows) +# if: startsWith(matrix.identifier, 'windows-') +# shell: sh +# run: | +# cmake -B ${{ github.workspace }}/.out-${{ matrix.identifier}} -DCMAKE_TOOLCHAIN_FILE=${{ github.workspace }}/toolchain-windows.cmake -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache -S ${{ github.workspace }} -G Ninja +# cmake --build ${{ github.workspace }}/.out-${{ matrix.identifier}} --target orchestrator -j 18 +# ls -l project/addons/*/ +# ls -l ${{ github.workspace }}/.out-${{ matrix.identifier}} +# +# - name: Include Files +# shell: sh +# run: | +# cp '${{ github.workspace }}/AUTHORS.md' '${{ github.workspace }}/CHANGELOG.md' '${{ github.workspace }}/README.md' '${{ github.workspace }}/LICENSE' '${{ github.workspace }}/project/addons/orchestrator/' +# +# - name: Upload artifact +# uses: actions/upload-artifact@v3 +# with: +# name: ${{ github.event.repository.name }} +# retention-days: 2 +# path: | +# ${{ github.workspace }}/project/