-
Notifications
You must be signed in to change notification settings - Fork 2.1k
65 lines (60 loc) · 2.11 KB
/
amd64_cmake_glop_cpp.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: amd64 CMake Glop C++
on: [push, pull_request]
# Building using the github runner environement directly.
jobs:
docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build env image
run: make --directory=cmake glop_env
- name: Build devel image
run: make --directory=cmake glop_devel
- name: Build project
run: make --directory=cmake glop_build
- name: Test project
run: make --directory=cmake glop_test
- name: Build Install env image
run: make --directory=cmake glop_install_env
- name: Build Install devel image
run: make --directory=cmake glop_install_devel
- name: Build Install
run: make --directory=cmake glop_install_build
- name: Test Install
run: make --directory=cmake glop_install_test
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check cmake
run: cmake --version
- name: Configure
run: cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release -DBUILD_DEPS=ON -DBUILD_CXX=OFF -DBUILD_GLOP=ON
- name: Build
run: cmake --build build --config Release --target all -v
- name: Install
run: cmake --build build --config Release --target install -v -- DESTDIR=install
macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Check cmake
run: cmake --version
- name: Configure
run: cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release -DBUILD_DEPS=ON -DBUILD_CXX=OFF -DBUILD_GLOP=ON
- name: Build
run: cmake --build build --target all -v
- name: Install
run: cmake --build build --target install -v -- DESTDIR=install
windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Check cmake
run: cmake --version
- name: Configure
run: cmake -S. -Bbuild -G "Visual Studio 17 2022" -DCMAKE_BUILD_TYPE=Release -DBUILD_DEPS=ON -DBUILD_CXX=OFF -DBUILD_GLOP=ON
- name: Build
run: cmake --build build --config Release --target ALL_BUILD -- /maxcpucount
- name: Install
run: cmake --build build --config Release --target INSTALL -- /maxcpucount