FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
cppfront/.github/workflows/build-cppfront.yaml at main · stanley-fork/cppfront · GitHub
stanley-fork
/
cppfront
Public
forked from
hsutter/cppfront
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
cppfront
/
.github
/
workflows
/
build-cppfront.yaml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
86 lines (81 loc) · 2.55 KB
Breadcrumbs
cppfront
/
.github
/
workflows
/
build-cppfront.yaml
Copy path
File metadata and controls
86 lines (81 loc) · 2.55 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
name
:
Multi-platform Build of cppfront
on
:
pull_request
:
paths-ignore
:
-
'
docs/**
'
push
:
paths-ignore
:
-
'
docs/**
'
workflow_dispatch
:
permissions
:
#
Restrict permissions to read-only for security
contents
:
read
concurrency
:
#
Specific group name to cancel in-progress builds for the same PR/ref
group
:
${{ github.workflow }}-${{ github.ref }}
cancel-in-progress
:
true
jobs
:
#
Comment out the Windows build until it is fixed
#
build-windows:
#
runs-on: windows-latest
#
steps:
#
- uses: actions/checkout@v4
#
- uses: ilammy/msvc-dev-cmd@v1
#
- name: Compiler name & version
#
run: cl.exe
#
- name: Build
#
run: cl.exe source/cppfront.cpp -std:c++latest -MD -EHsc -W4 -WX
build-unix-like
:
strategy
:
fail-fast
:
false
matrix
:
runs-on
:
[ubuntu-22.04]
compiler
:
[g++-10, g++-11, g++-12, clang++-12, clang++-14]
cxx-std
:
['c++20', 'c++2b']
exclude
:
#
GCC 10 doesn't have support for c++23
-
compiler
:
g++-10
cxx-std
:
'
c++2b
'
#
Clang 12 and 14 do not compile on 'c++2b' due to llvm/llvm-project#58206
-
compiler
:
clang++-12
cxx-std
:
'
c++2b
'
-
compiler
:
clang++-14
cxx-std
:
'
c++2b
'
include
:
-
runs-on
:
macos-14
compiler
:
clang++
cxx-std
:
'
c++20
'
-
runs-on
:
macos-15
compiler
:
clang++
cxx-std
:
'
c++20
'
-
runs-on
:
ubuntu-22.04
compiler
:
clang++-15
cxx-std
:
'
c++20
'
-
runs-on
:
ubuntu-24.04
compiler
:
clang++-16
cxx-std
:
'
c++20
'
-
runs-on
:
ubuntu-24.04
compiler
:
clang++-17
cxx-std
:
'
c++20
'
-
runs-on
:
ubuntu-24.04
compiler
:
clang++-18
cxx-std
:
'
c++20
'
-
runs-on
:
ubuntu-24.04
compiler
:
clang++-18
cxx-std
:
'
c++23
'
-
runs-on
:
ubuntu-24.04
compiler
:
g++-14
cxx-std
:
'
c++2b
'
runs-on
:
${{ matrix.runs-on }}
env
:
CXX
:
${{ matrix.compiler }}
CXXFLAGS
:
-std=${{ matrix.cxx-std }} -Wall -Wextra -Wold-style-cast -Wunused-parameter -Wpedantic -Werror -pthread -Wno-unknown-warning -Wno-unknown-warning-option
steps
:
-
uses
:
actions/checkout@v4
-
name
:
Install compiler
if
:
startsWith(matrix.runs-on, 'ubuntu')
run
:
sudo apt-get install -y $CXX
-
name
:
Compiler name & version
run
:
$CXX --version
-
name
:
Build
run
:
$CXX source/cppfront.cpp $CXXFLAGS -o cppfront
Back
|
FazBrowse Home
|
New Git URL