diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d1dd596..92f5df5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -55,26 +55,22 @@ jobs: build_type: [Debug, Release] compiler: [clang] runs-on: ubuntu-22.04 + container: debian:11 steps: - - name: Checkout Repository - uses: actions/checkout@v4 - with: - submodules: recursive - name: Install Necessary Packages run: | - sudo apt update - sudo apt install -y cmake build-essential ninja-build chrpath + apt update + apt install -y cmake build-essential ninja-build chrpath git - - name: Install Clang - if: ${{matrix.compiler == 'clang'}} - uses: KyleMayes/install-llvm-action@v1 + - name: Checkout Repository + uses: actions/checkout@v4 with: - version: 17 + submodules: recursive - name: Configure CMake run: | - cmake -G "Ninja" -B "${{env.BUILD_DIR}}" -DCMAKE_C_COMPILER="clang" -DCMAKE_CXX_COMPILER="clang++" -DCMAKE_BUILD_TYPE=${{matrix.build_type}} + cmake -G "Ninja" -B "${{env.BUILD_DIR}}" -DCMAKE_BUILD_TYPE=${{matrix.build_type}} - name: Build working-directory: '${{env.BUILD_DIR}}' diff --git a/CMakeLists.txt b/CMakeLists.txt index 166bf3a..5e75fce 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.24) +cmake_minimum_required(VERSION 3.18) project( verifier DESCRIPTION "A tool used to verify a game's install."