aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/cmake.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/cmake.yml')
-rw-r--r--.github/workflows/cmake.yml11
1 files changed, 10 insertions, 1 deletions
diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml
index 69bd538..e258b64 100644
--- a/.github/workflows/cmake.yml
+++ b/.github/workflows/cmake.yml
@@ -11,50 +11,59 @@ jobs:
11 - name: Ubuntu GCC 11 - name: Ubuntu GCC
12 os: ubuntu-latest 12 os: ubuntu-latest
13 compiler: gcc 13 compiler: gcc
14 cflags: -Werror -Wall -Wextra
14 15
15 # Test out of source builds 16 # Test out of source builds
16 - name: Ubuntu GCC OSB 17 - name: Ubuntu GCC OSB
17 os: ubuntu-latest 18 os: ubuntu-latest
18 compiler: gcc 19 compiler: gcc
20 cflags: -Werror -Wall -Wextra
19 build-dir: ../build 21 build-dir: ../build
20 src-dir: ../zlib 22 src-dir: ../zlib
21 23
22 - name: Ubuntu GCC -O3 24 - name: Ubuntu GCC -O3
23 os: ubuntu-latest 25 os: ubuntu-latest
24 compiler: gcc 26 compiler: gcc
25 cflags: -O3 27 cflags: -O3 -Werror -Wall -Wextra
26 28
27 - name: Ubuntu Clang 29 - name: Ubuntu Clang
28 os: ubuntu-latest 30 os: ubuntu-latest
29 compiler: clang 31 compiler: clang
32 cflags: -Werror -Wall -Wextra
30 33
31 - name: Ubuntu Clang Debug 34 - name: Ubuntu Clang Debug
32 os: ubuntu-latest 35 os: ubuntu-latest
33 compiler: clang 36 compiler: clang
37 cflags: -Werror -Wall -Wextra
34 build-config: Debug 38 build-config: Debug
35 39
36 - name: Windows MSVC Win32 40 - name: Windows MSVC Win32
37 os: windows-latest 41 os: windows-latest
38 compiler: cl 42 compiler: cl
43 cflags: /WX /W3
39 cmake-args: -A Win32 44 cmake-args: -A Win32
40 45
41 - name: Windows MSVC Win64 46 - name: Windows MSVC Win64
42 os: windows-latest 47 os: windows-latest
43 compiler: cl 48 compiler: cl
49 cflags: /WX /W3
44 cmake-args: -A x64 50 cmake-args: -A x64
45 51
46 - name: Windows GCC 52 - name: Windows GCC
47 os: windows-latest 53 os: windows-latest
48 compiler: gcc 54 compiler: gcc
55 cflags: -Werror -Wall -Wextra
49 cmake-args: -G Ninja 56 cmake-args: -G Ninja
50 57
51 - name: macOS Clang 58 - name: macOS Clang
52 os: macos-latest 59 os: macos-latest
53 compiler: clang 60 compiler: clang
61 cflags: -Werror -Wall -Wextra
54 62
55 - name: macOS GCC 63 - name: macOS GCC
56 os: macos-latest 64 os: macos-latest
57 compiler: gcc-11 65 compiler: gcc-11
66 cflags: -Werror -Wall -Wextra
58 67
59 steps: 68 steps:
60 - name: Checkout repository 69 - name: Checkout repository