Browse Source

Run cmake install for CI checks

Signed-off-by: falkTX <falktx@falktx.com>
pull/1780/head
falkTX 1 year ago
parent
commit
4816fedf84
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 24 additions and 4 deletions
  1. +24
    -4
      .github/workflows/cmake.yml

+ 24
- 4
.github/workflows/cmake.yml View File

@@ -8,10 +8,6 @@ on:
branches:
- '*'

env:
DEBIAN_FRONTEND: noninteractive
HOMEBREW_NO_AUTO_UPDATE: 1

jobs:
macos-11:
runs-on: macos-11
@@ -24,6 +20,10 @@ jobs:
run: cmake -S cmake -B build
- name: build
run: cmake --build build -j $(sysctl -n hw.logicalcpu)
- name: install
env:
DESTDIR: ${{ env.GITHUB_WORKSPACE }}/build/tmp
run: cmake --install build --verbose

mingw32-cross:
runs-on: ubuntu-22.04
@@ -49,6 +49,10 @@ jobs:
-DCMAKE_RANLIB=$(which i686-w64-mingw32-ranlib)
- name: build
run: cmake --build build -j $(nproc)
- name: install
env:
DESTDIR: ${{ env.GITHUB_WORKSPACE }}/build/tmp
run: cmake --install build --verbose

mingw64-cross:
runs-on: ubuntu-22.04
@@ -74,6 +78,10 @@ jobs:
-DCMAKE_RANLIB=$(which x86_64-w64-mingw32-ranlib)
- name: build
run: cmake --build build -j $(nproc)
- name: install
env:
DESTDIR: ${{ env.GITHUB_WORKSPACE }}/build/tmp
run: cmake --install build --verbose

ubuntu-20_04:
runs-on: ubuntu-20.04
@@ -87,6 +95,10 @@ jobs:
run: cmake -S cmake -B build
- name: build
run: cmake --build build -j $(nproc)
- name: install
env:
DESTDIR: ${{ env.GITHUB_WORKSPACE }}/build/tmp
run: cmake --install build --verbose

ubuntu-22_04:
runs-on: ubuntu-22.04
@@ -100,6 +112,10 @@ jobs:
run: cmake -S cmake -B build
- name: build
run: cmake --build build -j $(nproc)
- name: install
env:
DESTDIR: ${{ env.GITHUB_WORKSPACE }}/build/tmp
run: cmake --install build --verbose

windows:
runs-on: windows-latest
@@ -109,3 +125,7 @@ jobs:
run: cmake -S cmake -B build
- name: build
run: cmake --build build
- name: install
env:
DESTDIR: ${{ env.GITHUB_WORKSPACE }}/build/tmp
run: cmake --install build --verbose

Loading…
Cancel
Save