From 683df9ca285cbbdaf37ae88db2e1f40ea366cd32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20Gro=C3=9F?= Date: Fri, 24 Jan 2025 22:35:24 +0100 Subject: [PATCH] Reenable GitHub Actions --- .github/workflows/build-overte.yml | 133 ------------------ .../linux_server_build.yml | 0 .../master_build.yml | 0 .../master_deploy_apidocs.yml | 0 .../master_deploy_doxygen.yml | 0 .../{no-workflows => workflows}/pr_build.yml | 0 .../release_build.yml | 0 7 files changed, 133 deletions(-) delete mode 100644 .github/workflows/build-overte.yml rename .github/{no-workflows => workflows}/linux_server_build.yml (100%) rename .github/{no-workflows => workflows}/master_build.yml (100%) rename .github/{no-workflows => workflows}/master_deploy_apidocs.yml (100%) rename .github/{no-workflows => workflows}/master_deploy_doxygen.yml (100%) rename .github/{no-workflows => workflows}/pr_build.yml (100%) rename .github/{no-workflows => workflows}/release_build.yml (100%) diff --git a/.github/workflows/build-overte.yml b/.github/workflows/build-overte.yml deleted file mode 100644 index 68c203e336..0000000000 --- a/.github/workflows/build-overte.yml +++ /dev/null @@ -1,133 +0,0 @@ ---- -name: Build game - -on: [ push, pull_request ] - -jobs: - build-gcc: - name: Linux build on Ubuntu - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - submodules: false - fetch-depth: 1 - - - name: Cache conan - id: cache-conan - uses: actions/cache@v4 - with: - key: conan-ubuntu-${{ hashFiles('conanfile.py') }} - restore-keys: | - conan-ubuntu- - path: ~/.conan2/ - - - name: Install dependencies - run: | - curl "https://raw.githubusercontent.com/AnotherFoxGuy/ci-scripts/main/install-conan.sh" | sudo bash - sudo apt-get update - sudo apt-get -y install \ - pkg-config \ - ninja-build \ - qtbase5-dev \ - qtbase5-private-dev \ - qtwebengine5-dev \ - qtwebengine5-dev-tools \ - qtmultimedia5-dev \ - libqt5opengl5-dev \ - qtscript5-dev \ - libqt5scripttools5 \ - libqt5webchannel5-dev \ - libqt5websockets5-dev \ - qtxmlpatterns5-dev-tools \ - qttools5-dev \ - libqt5xmlpatterns5-dev \ - libqt5svg5-dev \ - qml-module-qtwebchannel \ - qml-module-qtquick-controls \ - qml-module-qtquick-controls2 \ - qml-module-qt-labs-settings \ - qml-module-qtquick-dialogs \ - qml-module-qtwebengine - shell: bash - - - name: Setup conan - if: steps.cache-conan.outputs.cache-hit != 'true' - run: | - conan profile detect --force - echo "tools.system.package_manager:mode = install" > ~/.conan2/global.conf - echo "tools.system.package_manager:sudo = True" >> ~/.conan2/global.conf - conan remote add overte https://artifactory.overte.org/artifactory/api/conan/overte -f - - - name: Install conan pkgs - run: | - conan install . \ - -s build_type=Release \ - -b missing \ - -pr:b=default \ - -c tools.cmake.cmaketoolchain:generator="Ninja" \ - -of build - conan cache clean "*" -sbd - shell: bash - - - name: Configure - run: cmake --preset conan-release - shell: bash - - - name: Build - run: | - cd build - ninja - shell: bash - - build-msvc: - name: Windows build - runs-on: windows-2019 - env: - BUILD_TOOLS_PATH: C:\apps\build-tools\ - steps: - - run: echo $env:BUILD_TOOLS_PATH | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append - - - uses: actions/checkout@v4 - with: - submodules: false - fetch-depth: 1 - - - name: Install Build tools - run: git clone https://git.anotherfoxguy.com/AnotherFoxGuy/build-tools.git %BUILD_TOOLS_PATH% - shell: cmd - - - name: Install Qt5 - uses: jurplel/install-qt-action@v3 - with: - cache: true - cache-key-prefix: windows-QtCache - modules: qtwebengine - - - name: Cache conan packages - uses: actions/cache@v4 - with: - key: conan-windows-${{ hashFiles('conanfile.py') }} - restore-keys: | - conan-windows- - path: ~/.conan2 - - - name: Install conan pkgs - run: | - conan remote add overte https://artifactory.overte.org/artifactory/api/conan/overte -f - conan install . -b missing -pr:b=tools/conan-profiles/vs-19-release-ninja -pr=tools/conan-profiles/vs-19-release-ninja -of build - conan cache clean "*" -sbd - shell: cmd - - - name: Enable Developer Command Prompt - uses: ilammy/msvc-dev-cmd@v1 - - - name: Configure - run: cmake --preset conan-release - shell: cmd - - - name: Build - run: | - cd build - ninja - shell: cmd diff --git a/.github/no-workflows/linux_server_build.yml b/.github/workflows/linux_server_build.yml similarity index 100% rename from .github/no-workflows/linux_server_build.yml rename to .github/workflows/linux_server_build.yml diff --git a/.github/no-workflows/master_build.yml b/.github/workflows/master_build.yml similarity index 100% rename from .github/no-workflows/master_build.yml rename to .github/workflows/master_build.yml diff --git a/.github/no-workflows/master_deploy_apidocs.yml b/.github/workflows/master_deploy_apidocs.yml similarity index 100% rename from .github/no-workflows/master_deploy_apidocs.yml rename to .github/workflows/master_deploy_apidocs.yml diff --git a/.github/no-workflows/master_deploy_doxygen.yml b/.github/workflows/master_deploy_doxygen.yml similarity index 100% rename from .github/no-workflows/master_deploy_doxygen.yml rename to .github/workflows/master_deploy_doxygen.yml diff --git a/.github/no-workflows/pr_build.yml b/.github/workflows/pr_build.yml similarity index 100% rename from .github/no-workflows/pr_build.yml rename to .github/workflows/pr_build.yml diff --git a/.github/no-workflows/release_build.yml b/.github/workflows/release_build.yml similarity index 100% rename from .github/no-workflows/release_build.yml rename to .github/workflows/release_build.yml