From 32725928b4300d2648f01b1296ca6e7bfc9f3ab0 Mon Sep 17 00:00:00 2001 From: Darkheim Date: Sat, 12 Jul 2025 19:14:47 -0500 Subject: [PATCH] Create cmake-single-platform.yml --- .github/workflows/cmake-single-platform.yml | 28 +++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/cmake-single-platform.yml diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml new file mode 100644 index 0000000..bab6fab --- /dev/null +++ b/.github/workflows/cmake-single-platform.yml @@ -0,0 +1,28 @@ +name: CMake Build + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +env: + BUILD_TYPE: Release + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Install Qt5 + run: | + sudo apt-get update + sudo apt-get install -y qt5-default qtbase5-dev qtbase5-dev-tools + + - name: Configure CMake + run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} + + - name: Build + run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}