🔧 Add build without DEVENV to CI

This commit is contained in:
Vladislav Nepogodin 2023-01-17 02:20:02 +04:00
parent b405564bab
commit d52e022029
No known key found for this signature in database
GPG Key ID: B62C3D10C54D5DA9

View File

@ -38,3 +38,24 @@ jobs:
cd ${{github.workspace}}/build cd ${{github.workspace}}/build
./tests/test-initcpio ./tests/test-initcpio
shell: bash 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