powershell fixes for linux #3
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: ZEngine Cmake Linux Workflow | |
| on: | |
| push: | |
| branches: [ header-reorganization ] | |
| jobs: | |
| Linux-Build: | |
| name: cmake-build-linux-debug | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Powershell Repository | |
| run: curl -O https://packages.microsoft.com/config/ubuntu/24.04/packages-microsoft-prod.deb && sudo dpkg -i packages-microsoft-prod.deb | |
| - name: Install External Dependencies | |
| run: sudo apt-get update && sudo apt-get install -y git libasound2-dev libgl1-mesa-dev libpulse-dev libdbus-1-dev libx11-dev libxcursor-dev libxext-dev libxi-dev libxinerama-dev libxrandr-dev libxss-dev libxt-dev libxxf86vm-dev cmake gcc g++ ninja-build libassimp-dev libfmt-dev libimgui-dev libstb-dev libglfw3-dev libspdlog-dev libglm-dev libyaml-cpp-dev libspirv-cross-c-shared-dev spirv-cross spirv-tools glslang-dev glslang-tools nlohmann-json3-dev dotnet-runtime-8.0 libgtest-dev powershell | |
| - name: CMake Build | |
| run: .\Scripts\BuildEngine.ps1 -Configurations 'Debug' -RunClangFormat 0 | |
| shell: pwsh | |
| - name: Run Tests | |
| run: .\Scripts\RunTests.ps1 -Configurations 'Debug' | |
| shell: pwsh |