From d52e0220298506f255a573de97fa4af4f980ac8e Mon Sep 17 00:00:00 2001 From: Vladislav Nepogodin Date: Tue, 17 Jan 2023 02:20:02 +0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Add=20build=20without=20DEVENV?= =?UTF-8?q?=20to=20CI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 50f9ec7..71b8f60 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -38,3 +38,24 @@ jobs: cd ${{github.workspace}}/build ./tests/test-initcpio shell: bash + build_withoutdev: + name: Build (DEVENV OFF) + runs-on: ubuntu-latest + container: archlinux:base-devel + steps: + - uses: actions/checkout@v3 + + - name: install deps + run: | + pacman -Syu --noconfirm cmake pkg-config ninja clang mold llvm git + shell: bash + + - name: Configure CMake + # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. + run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DENABLE_DEVENV=OFF + + - name: Build + # Build your program with the given configuration + run: | + cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} + shell: bash