Remove MeshBatcher. Refactor IRenderer types #343
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
| # This starter workflow is for a CMake project running on multiple platforms. There is a different starter workflow if you just want a single platform. | |
| # See: https://github.com/actions/starter-workflows/blob/main/ci/cmake-single-platform.yml | |
| name: C++ CMake on Windows-x64 | |
| env: | |
| VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite" | |
| defaults: | |
| run: | |
| shell: powershell | |
| on: | |
| workflow_call: | |
| push: | |
| branches: [ "master" ] | |
| pull_request: | |
| branches: [ "master" ] | |
| jobs: | |
| restore: | |
| name: vcpkg restore | |
| uses: ./.github/workflows/vcpkg_restore.yml | |
| build: | |
| runs-on: [windows-latest, x64, gpu, self-hosted] | |
| needs: restore | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Cache CMake Build | |
| uses: actions/cache@v3 | |
| with: | |
| path: build | |
| key: cmake-build-${{ runner.os }}-${{ hashFiles('**/CMakeLists.txt', '**/*.h', '**/*.hpp', '**/*.cpp') }} | |
| restore-keys: | | |
| cmake-build-${{ runner.os }}- | |
| - name: Configure CMake | |
| # I know hardcoded file paths is stupid, I need to find an other solution. | |
| run: > | |
| cmake -B ${{ github.workspace }}/build | |
| -DCMAKE_CXX_COMPILER=cl | |
| -DCMAKE_C_COMPILER=$cl | |
| -DCMAKE_BUILD_TYPE=Release | |
| -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake | |
| -DVCPKG_TARGET_TRIPLET=x64-windows-release | |
| -DVCPKG_MANIFEST_MODE=OFF | |
| -S ${{ github.workspace }}/3DRadSpace | |
| - name: Build | |
| # Build your program with the given configuration. Note that --config is needed because the default Windows generator is a multi-config generator (Visual Studio generator). | |
| run: cmake --build ${{ github.workspace }}/build --config Release |