forked from bemanproject/optional
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request bemanproject#27 from neatudarius/experimental/enabβ¦
β¦le-clang-19 Enable clang-19 tests on CI
- Loading branch information
Showing
3 changed files
with
46 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Debug CI | ||
|
||
<!-- | ||
SPDX-License-Identifier: 2.0 license with LLVM exceptions | ||
--> | ||
|
||
## CI flows | ||
|
||
CI flows are found in [.github/workflows/](.github/workflows/). Usually, they are run when generating a Git Action (e.g. at `push`). | ||
|
||
WIP to add flows for tests, linting etc. | ||
|
||
## Run CI Flows on Local Setup | ||
|
||
We can use [nektos/act](https://github.com/nektos/act) to simulate and test Git Actions on local setup. | ||
Setup and tutorial on [nektosact.com/](https://nektosact.com/). | ||
|
||
```shell | ||
# Check available jobs | ||
$ sudo act --container-architecture linux/amd64 --list | ||
Stage Job ID Job name Workflow name Workflow file Events | ||
0 build ${{ matrix.config.name }} CI Tests ci.yml pull_request,push | ||
|
||
# Run all CI jobs | ||
Optional26 $ sudo act -P ubuntu-24.04=ghcr.io/catthehacker/ubuntu:full-24.04 --container-architecture linux/amd64 push | ||
[CI Tests/Ubuntu Clang 18-2] π Start image=ghcr.io/catthehacker/ubuntu:full-24.04 | ||
[CI Tests/Ubuntu Clang 19-3] π Start image=ghcr.io/catthehacker/ubuntu:full-24.04 | ||
[CI Tests/Ubuntu Clang 17-1] π Start image=ghcr.io/catthehacker/ubuntu:full-24.04 | ||
[CI Tests/Ubuntu GCC 14-5 ] π Start image=ghcr.io/catthehacker/ubuntu:full-24.04 | ||
[CI Tests/Ubuntu GCC 13-4 ] π Start image=ghcr.io/catthehacker/ubuntu:full-24.04 | ||
... | ||
|
||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters