Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 7 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}'
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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."
Expand Down
Loading