File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Debug CI
2
+
3
+ <!--
4
+ SPDX-License-Identifier: 2.0 license with LLVM exceptions
5
+ -->
6
+
7
+ ## CI flows
8
+
9
+ CI flows are found in [ .github/workflows/] ( .github/workflows/ ) . Usually, they are run when generating a Git Action (e.g. at ` push ` ).
10
+
11
+ WIP to add flows for tests, linting etc.
12
+
13
+ ## Run CI Flows on Local Setup
14
+
15
+ We can use [ nektos/act] ( https://github.com/nektos/act ) to simulate and test Git Actions on local setup.
16
+ Setup and tutorial on [ nektosact.com/] ( https://nektosact.com/ ) .
17
+
18
+ ``` shell
19
+ # Check available jobs
20
+ $ sudo act --container-architecture linux/amd64 --list
21
+ Stage Job ID Job name Workflow name Workflow file Events
22
+ 0 build ${{ matrix.config.name } } CI Tests ci.yml pull_request,push
23
+
24
+ # Run all CI jobs
25
+ Optional26 $ sudo act -P ubuntu-24.04=ghcr.io/catthehacker/ubuntu:full-24.04 --container-architecture linux/amd64 push
26
+ [CI Tests/Ubuntu Clang 18-2] π Start image=ghcr.io/catthehacker/ubuntu:full-24.04
27
+ [CI Tests/Ubuntu Clang 19-3] π Start image=ghcr.io/catthehacker/ubuntu:full-24.04
28
+ [CI Tests/Ubuntu Clang 17-1] π Start image=ghcr.io/catthehacker/ubuntu:full-24.04
29
+ [CI Tests/Ubuntu GCC 14-5 ] π Start image=ghcr.io/catthehacker/ubuntu:full-24.04
30
+ [CI Tests/Ubuntu GCC 13-4 ] π Start image=ghcr.io/catthehacker/ubuntu:full-24.04
31
+ ...
32
+
33
+ ```
You canβt perform that action at this time.
0 commit comments