From 5d6485b640fa76b3bba418c90f3492e85a2c46d6 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Mon, 25 Nov 2024 18:11:51 +0200 Subject: [PATCH] no message --- .github/workflows/continuous_integration.yml | 96 -------------------- .github/workflows/submodules_status.yml | 1 + 2 files changed, 1 insertion(+), 96 deletions(-) delete mode 100644 .github/workflows/continuous_integration.yml diff --git a/.github/workflows/continuous_integration.yml b/.github/workflows/continuous_integration.yml deleted file mode 100644 index 7d2ff19..0000000 --- a/.github/workflows/continuous_integration.yml +++ /dev/null @@ -1,96 +0,0 @@ -name: CI - -on: [push, pull_request] - -jobs: - build: - name: ${{ matrix.target.name }} - ${{ matrix.toolchain.name }} - runs-on: ${{ matrix.toolchain.os }} - strategy: - fail-fast: false - matrix: - target: - - name: quakespasm - - - name: quakespasm-spiked - - - name: vkquake - deps: - common: | - mkdir -p build/glslang - cd build/glslang - GLSLANG_PACKAGE=glslang-14.3.0-${RUNNER_OS}.tar.xz - aria2c https://github.com/alexey-lysiuk/quakespasm-cmake/releases/download/ci_deps/${GLSLANG_PACKAGE} - tar -xf ${GLSLANG_PACKAGE} - Linux: sudo apt install libvulkan-dev - macOS: brew install vulkan-headers vulkan-loader - configure: export PATH=$PATH:$(pwd)/build/glslang - - - name: ironwail - deps: - Linux: sudo apt install libcurl4-openssl-dev - - toolchain: - - name: Linux Clang - os: ubuntu-24.04 - # TODO: find the way to avoid duplication of dependencies command - deps: sudo apt update && sudo apt install libflac-dev libmikmod-dev libmpg123-dev libopusfile-dev libsdl2-dev libvorbis-dev libxmp-dev - cmake_args: -DCMAKE_C_COMPILER=clang - - - name: Linux GCC - os: ubuntu-24.04 - # TODO: find the way to avoid duplication of dependencies command - deps: sudo apt update && sudo apt install libflac-dev libmikmod-dev libmpg123-dev libopusfile-dev libsdl2-dev libvorbis-dev libxmp-dev - - - name: macOS Intel - os: macos-13 - deps: brew install flac libmikmod libvorbis libxmp mpg123 opusfile sdl2 - - - name: macOS ARM - os: macos-14 - deps: brew install flac libmikmod libvorbis libxmp mpg123 opusfile sdl2 - - - name: MSVC 32-bit - os: windows-2022 - cmake_args: -A Win32 - - - name: MSVC 64-bit - os: windows-2022 - - steps: - - uses: actions/checkout@v4 - - - name: Checkout Source Code - shell: bash - run: | - git submodule update --init -- src/${{ matrix.target.name }} - - - name: Install Dependencies - shell: bash - run: | - ${{ matrix.toolchain.deps }} - ${{ matrix.target.deps.common }} - ${{ matrix.target.deps[runner.os] }} - - - name: Configure - shell: bash - run: | - ${{ matrix.target.configure }} - cmake -B build -DQUAKE_TARGET=${{ matrix.target.name }} ${{ matrix.toolchain.cmake_args }} . - - - name: Get number of CPU cores - uses: SimenB/github-actions-cpu-cores@v2 - id: cpu-cores - - - name: Build - shell: bash - run: | - export MAKEFLAGS=--keep-going - cmake --build build --config Release --parallel ${{ steps.cpu-cores.outputs.count }} - - - name: List Build Directory - if: always() - shell: bash - run: | - git status - ls -lR build diff --git a/.github/workflows/submodules_status.yml b/.github/workflows/submodules_status.yml index fd0c910..1f40fd3 100644 --- a/.github/workflows/submodules_status.yml +++ b/.github/workflows/submodules_status.yml @@ -14,3 +14,4 @@ jobs: - name: Update Submodules run: | git submodule update --remote --merge + git status