Skip to content

Commit 891e6be

Browse files
authored
Add GitHub Action for super-lint (#250)
1 parent 3f9cb04 commit 891e6be

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+5520
-5281
lines changed

.azuredevops/pipelines/DirectXMath-GitHub-CMake-Dev17.yml

Lines changed: 314 additions & 309 deletions
Large diffs are not rendered by default.

.azuredevops/pipelines/DirectXMath-GitHub-CMake.yml

Lines changed: 105 additions & 99 deletions
Original file line numberDiff line numberDiff line change
@@ -6,45 +6,45 @@
66
# Builds the library and test suite using CMake using VS Generator (GitHub Actions covers Ninja).
77

88
schedules:
9-
- cron: "0 0 * * *"
10-
displayName: 'Nightly build'
11-
branches:
12-
include:
13-
- main
9+
- cron: "0 0 * * *"
10+
displayName: 'Nightly build'
11+
branches:
12+
include:
13+
- main
1414

1515
trigger:
1616
branches:
1717
include:
18-
- main
18+
- main
1919
paths:
2020
exclude:
21-
- '*.md'
22-
- LICENSE
23-
- '.github/**'
24-
- '.nuget/*'
25-
- build/*.ps1
21+
- '*.md'
22+
- LICENSE
23+
- '.github/**'
24+
- '.nuget/*'
25+
- build/*.ps1
2626

2727
pr:
2828
branches:
2929
include:
30-
- main
30+
- main
3131
paths:
3232
exclude:
33-
- '*.md'
34-
- LICENSE
35-
- '.github/**'
36-
- '.nuget/*'
33+
- '*.md'
34+
- LICENSE
35+
- '.github/**'
36+
- '.nuget/*'
3737

3838
resources:
3939
repositories:
40-
- repository: self
41-
type: git
42-
ref: refs/heads/main
43-
- repository: testRepo
44-
name: walbourn/directxmathtest
45-
type: github
46-
endpoint: microsoft
47-
ref: refs/heads/main
40+
- repository: self
41+
type: git
42+
ref: refs/heads/main
43+
- repository: testRepo
44+
name: walbourn/directxmathtest
45+
type: github
46+
endpoint: microsoft
47+
ref: refs/heads/main
4848

4949
name: $(Year:yyyy).$(Month).$(DayOfMonth)$(Rev:.r)
5050

@@ -57,78 +57,84 @@ pool:
5757
vmImage: windows-2019
5858

5959
jobs:
60-
- job: CMAKE_BUILD
61-
displayName: CMake using VS Generator
62-
cancelTimeoutInMinutes: 1
63-
steps:
64-
- checkout: self
65-
clean: true
66-
fetchTags: false
67-
fetchDepth: 1
68-
path: 's'
69-
- checkout: testRepo
70-
displayName: Fetch Tests
71-
clean: true
72-
fetchTags: false
73-
fetchDepth: 1
74-
path: 's/Tests'
75-
- task: CMake@1
76-
displayName: CMake (MSVC x64)
77-
inputs:
78-
cwd: '$(Build.SourcesDirectory)'
79-
cmakeArgs: '-G "$(VS_GENERATOR)" -A x64 -B out -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)'
80-
- task: CMake@1
81-
displayName: CMake (Build x64)
82-
inputs:
83-
cwd: '$(Build.SourcesDirectory)'
84-
cmakeArgs: --build out -v
85-
- task: CMake@1
86-
displayName: CMake Test (MSVC x64)
87-
inputs:
88-
cwd: Tests
89-
cmakeArgs: '-G "$(VS_GENERATOR)" -A x64 -B out -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)'
90-
- task: CMake@1
91-
displayName: CMake Test (Build x64)
92-
inputs:
93-
cwd: Tests
94-
cmakeArgs: --build out -v
95-
- task: CMake@1
96-
displayName: CMake (MSVC ARM64)
97-
inputs:
98-
cwd: '$(Build.SourcesDirectory)'
99-
cmakeArgs: '-G "$(VS_GENERATOR)" -A ARM64 -B out2 -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)'
100-
- task: CMake@1
101-
displayName: CMake (Build ARM64)
102-
inputs:
103-
cwd: '$(Build.SourcesDirectory)'
104-
cmakeArgs: --build out2 -v
105-
- task: CMake@1
106-
displayName: CMake Test (MSVC ARM64)
107-
inputs:
108-
cwd: Tests
109-
cmakeArgs: '-G "$(VS_GENERATOR)" -A ARM64 -B out2 -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)'
110-
- task: CMake@1
111-
displayName: CMake Test (Build ARM64)
112-
inputs:
113-
cwd: Tests
114-
cmakeArgs: --build out2 -v
115-
- task: CMake@1
116-
displayName: CMake (ClangCl)
117-
inputs:
118-
cwd: '$(Build.SourcesDirectory)'
119-
cmakeArgs: '-G "$(VS_GENERATOR)" -A x64 -T clangcl -B out3 -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)'
120-
- task: CMake@1
121-
displayName: CMake (Build)
122-
inputs:
123-
cwd: '$(Build.SourcesDirectory)'
124-
cmakeArgs: --build out3 -v
125-
- task: CMake@1
126-
displayName: CMake Test (ClangCL)
127-
inputs:
128-
cwd: Tests
129-
cmakeArgs: '-G "$(VS_GENERATOR)" -A x64 -T clangcl -B out3 -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)'
130-
- task: CMake@1
131-
displayName: CMake Test (Build)
132-
inputs:
133-
cwd: Tests
134-
cmakeArgs: --build out3 -v
60+
- job: CMAKE_BUILD
61+
displayName: CMake using VS Generator
62+
cancelTimeoutInMinutes: 1
63+
steps:
64+
- checkout: self
65+
clean: true
66+
fetchTags: false
67+
fetchDepth: 1
68+
path: 's'
69+
- checkout: testRepo
70+
displayName: Fetch Tests
71+
clean: true
72+
fetchTags: false
73+
fetchDepth: 1
74+
path: 's/Tests'
75+
- task: CMake@1
76+
displayName: CMake (MSVC x64)
77+
inputs:
78+
cwd: '$(Build.SourcesDirectory)'
79+
cmakeArgs: >
80+
-G "$(VS_GENERATOR)" -A x64 -B out -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)
81+
- task: CMake@1
82+
displayName: CMake (Build x64)
83+
inputs:
84+
cwd: '$(Build.SourcesDirectory)'
85+
cmakeArgs: --build out -v
86+
- task: CMake@1
87+
displayName: CMake Test (MSVC x64)
88+
inputs:
89+
cwd: Tests
90+
cmakeArgs: >
91+
-G "$(VS_GENERATOR)" -A x64 -B out -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)
92+
- task: CMake@1
93+
displayName: CMake Test (Build x64)
94+
inputs:
95+
cwd: Tests
96+
cmakeArgs: --build out -v
97+
- task: CMake@1
98+
displayName: CMake (MSVC ARM64)
99+
inputs:
100+
cwd: '$(Build.SourcesDirectory)'
101+
cmakeArgs: >
102+
-G "$(VS_GENERATOR)" -A ARM64 -B out2 -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)
103+
- task: CMake@1
104+
displayName: CMake (Build ARM64)
105+
inputs:
106+
cwd: '$(Build.SourcesDirectory)'
107+
cmakeArgs: --build out2 -v
108+
- task: CMake@1
109+
displayName: CMake Test (MSVC ARM64)
110+
inputs:
111+
cwd: Tests
112+
cmakeArgs: >
113+
-G "$(VS_GENERATOR)" -A ARM64 -B out2 -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)
114+
- task: CMake@1
115+
displayName: CMake Test (Build ARM64)
116+
inputs:
117+
cwd: Tests
118+
cmakeArgs: --build out2 -v
119+
- task: CMake@1
120+
displayName: CMake (ClangCl)
121+
inputs:
122+
cwd: '$(Build.SourcesDirectory)'
123+
cmakeArgs: >
124+
-G "$(VS_GENERATOR)" -A x64 -T clangcl -B out3 -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)
125+
- task: CMake@1
126+
displayName: CMake (Build)
127+
inputs:
128+
cwd: '$(Build.SourcesDirectory)'
129+
cmakeArgs: --build out3 -v
130+
- task: CMake@1
131+
displayName: CMake Test (ClangCL)
132+
inputs:
133+
cwd: Tests
134+
cmakeArgs: >
135+
-G "$(VS_GENERATOR)" -A x64 -T clangcl -B out3 -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)
136+
- task: CMake@1
137+
displayName: CMake Test (Build)
138+
inputs:
139+
cwd: Tests
140+
cmakeArgs: --build out3 -v

0 commit comments

Comments
 (0)