⚡ C++ Modules Update #3
Workflow file for this run
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: Deploy to Linux | |
| # on: | |
| # pull_request: | |
| # types: [closed] | |
| # branches: | |
| # - main # Only trigger for PRs merged into main | |
| on: [pull_request, workflow_dispatch] | |
| jobs: | |
| if_merged: | |
| if: github.event.pull_request.merged == false | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install LLVM's C++ Standard Library | |
| run: sudo apt-get install libc++-20-dev libc++abi-20-dev | |
| - name: Installing pipx | |
| run: sudo apt install pipx | |
| - name: Installing Prerequisites for Linux | |
| run: | | |
| sudo apt-get update | |
| sudo apt install software-properties-common -y | |
| sudo add-apt-repository ppa:deadsnakes/ppa | |
| - name: Install Vulkan SDK | |
| uses: humbletim/setup-vulkan-sdk@v1.2.1 | |
| with: | |
| vulkan-query-version: 1.4.304.1 | |
| vulkan-components: Vulkan-Headers, Vulkan-Loader | |
| vulkan-use-cache: true | |
| - name: Pip installing conan | |
| shell: pwsh | |
| run: pipx install conan | |
| - name: Setting up conan profiles | |
| shell: pwsh | |
| run: conan config install -sf profiles/x86_64/Windows/ -tf profiles https://github.com/engine3d-dev/conan-config.git | |
| - name: Setting up Remote Repositories | |
| shell: pwsh | |
| run: | | |
| conan remote add engine3d-conan https://libhal.jfrog.io/artifactory/api/conan/engine3d-conan | |
| conan remote add libhal-trunk https://libhal.jfrog.io/artifactory/api/conan/trunk-conan | |
| - name: Creating Release build for vulkan-cpp | |
| shell: pwsh | |
| run: conan create . -b missing -s build_type=Release -pr linux_x86_64 -c tools.system.package_manager:sudo=True -c tools.system.package_manager:mode=install | |
| - name: Creating Debug build for vulkan-cpp | |
| shell: pwsh | |
| run: conan create . -b missing -s build_type=Debug -pr linux_x86_64 -c tools.system.package_manager:sudo=True -c tools.system.package_manager:mode=install | |
| - name: Creating MinSizeRel build for vulkan-cpp | |
| shell: pwsh | |
| run: conan create . -b missing -s build_type=MinSizeRel -pr linux_x86_64 -c tools.system.package_manager:sudo=True -c tools.system.package_manager:mode=install | |
| - name: Login to JFrog | |
| run: conan remote login -p ${{ secrets.JFROG_USER_TOKEN_ID }} engine3d-conan ${{ secrets.JFROG_USERNAME }} | |
| # - name: Upload vulkan-cpp to engine3d-conan remote repositories | |
| # shell: pwsh | |
| # run: conan upload vulkan-cpp/4.0 --r=engine3d-conan --confirm |