Skip to content

Commit ac149c9

Browse files
committed
./alien_worker.sh
1 parent 2397c70 commit ac149c9

54 files changed

Lines changed: 132286 additions & 0 deletions

Some content is hidden

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

.bazelrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# .bazelrc
2+
common --enable_bzlmod
3+
build --cxxopt='-std=c++20'
4+
test --test_output=all

.bazelversion

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
9.1.1

.github/workflows/test.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: unit tests
2+
3+
on:
4+
push:
5+
branches: [main, free]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
timeout-minutes: 180
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: install prerequisites
16+
run: sudo apt-get update && sudo apt-get install -y m4 libpulse0
17+
- name: bazel test
18+
run: bazelisk test //... --test_output=errors

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
bazel-*
2+
.claude
3+
.vscode
4+
.DS_Store

.trunk/.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
*out
2+
*logs
3+
*actions
4+
*notifications
5+
*tools
6+
plugins
7+
user_trunk.yaml
8+
user.yaml
9+
tmp

.trunk/configs/.markdownlint.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Prettier friendly markdownlint config (all formatting rules disabled)
2+
extends: markdownlint/style/prettier
3+
MD024: false

.trunk/configs/.shellcheckrc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
enable=all
2+
source-path=SCRIPTDIR
3+
disable=SC2154
4+
5+
# If you're having issues with shellcheck following source, disable the errors via:
6+
# disable=SC1090
7+
# disable=SC1091

.trunk/configs/.yamllint.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
rules:
2+
quoted-strings:
3+
required: only-when-needed
4+
extra-allowed: ["{|}"]
5+
key-duplicates: {}
6+
octal-values:
7+
forbid-implicit-octal: true

.trunk/trunk.yaml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# This file controls the behavior of Trunk: https://docs.trunk.io/cli
2+
# To learn more about the format of this file, see https://docs.trunk.io/reference/trunk-yaml
3+
version: 0.1
4+
cli:
5+
version: 1.25.0
6+
# Trunk provides extensibility via plugins. (https://docs.trunk.io/plugins)
7+
plugins:
8+
sources:
9+
- id: trunk
10+
ref: v1.7.4
11+
uri: https://github.com/trunk-io/plugins
12+
# Many linters and tools depend on runtimes - configure them here. (https://docs.trunk.io/runtimes)
13+
runtimes:
14+
enabled:
15+
- python@3.10.8
16+
- go@1.21.0
17+
- node@22.16.0
18+
# This is the section where you manage your linters. (https://docs.trunk.io/check/configuration)
19+
lint:
20+
disabled:
21+
- git-diff-check
22+
ignore:
23+
- linters: [ALL]
24+
paths:
25+
- third_party/miniaudio/miniaudio.h
26+
enabled:
27+
- clang-format@16.0.3
28+
- buildifier@8.5.1
29+
- checkov@3.2.504
30+
- markdownlint@0.47.0
31+
- prettier@3.8.1
32+
- shellcheck@0.11.0
33+
- shfmt@3.6.0
34+
- trufflehog@3.93.3
35+
- yamllint@1.38.0
36+
actions:
37+
enabled:
38+
- trunk-announce
39+
- trunk-check-pre-push
40+
- trunk-fmt-pre-commit
41+
- trunk-upgrade-available

BUILD

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
load("//tools/build_defs:music.bzl", "music_playlist")
2+
3+
music_playlist(
4+
name = "alien_worker",
5+
tracks = [
6+
"//initial_commit:play",
7+
"//ret_0x113:play",
8+
"//while_not_current:law",
9+
"//while_not_current:play",
10+
"//sigsegv:law",
11+
"//sigsegv:play",
12+
"//system_prune:law",
13+
"//system_prune:play",
14+
"//timeout_60:law",
15+
"//timeout_60:play",
16+
"//exit_0:law",
17+
"//exit_0:play",
18+
"//static_cast_alien:play",
19+
"//git_checkout_free:play",
20+
],
21+
)

0 commit comments

Comments
 (0)