Files
leaf/.gitignore
eric c08f3dd0f9 build: run the plugin suites in CI, and ignore what the plugins build
`make e2e` runs the end-to-end suite with `--strict`, minus the soak lane;
`make soak` is that lane plus the slow cost meters. `make plugin-test` covers
what an end-to-end run cannot reach -- the host's own loader and wrapper
tests, the ABI parity test, and each plugin's unit tests, one language at a
time -- and `make plugin-test-san` builds the C plugin's tests under address
and undefined-behaviour sanitizers, kept separate because not every toolchain
ships the runtimes.

CI grows a plugin job on Linux and macOS that runs the suite and
`make plugin-test`, and checks that `leaf-cli` still builds with plugin
support, since nothing else in the matrix compiles that feature. The same lane
exists for Windows but is started by hand: the suite has been through Windows
green on ARM64, and this runner is x86-64. A sanitizer lane runs the hostile
cases with the runtime exported so a plugin loads against it, and uploads the
artifact directory when a case fails. The soak workflow is the one that is
nightly: it runs the long lane out of hours with a longer timeout scale and
more meter repetitions, so its numbers are worth comparing between nights.

`.gitignore` learns the artifacts the plugin builds leave in the tree.
2026-12-03 19:31:53 +08:00

76 lines
1.5 KiB
Plaintext

# TRAE
.trae/
# Generated by Cargo
# will have compiled files and executables
/target/
# Local working notes and references, never part of the repository
/.scratch/
# Generated plugin artifacts
/leaf-plugins/tls-cabi-go/*.dll
/leaf-plugins/tls-cabi-go/*.dylib
/leaf-plugins/tls-cabi-go/*_cabi_go.h
/leaf-plugins/trojan-cabi-go/*.dll
/leaf-plugins/trojan-cabi-go/*.dylib
/leaf-plugins/trojan-cabi-go/*_cabi_go.h
/leaf-plugins/socks5-cabi-c/*.dll
/leaf-plugins/socks5-cabi-c/*.dylib
/leaf-plugins/socks5-cabi-c/*.so
/leaf-plugins/socks5-cabi-c/socks5_test
/leaf-plugins/socks5-cabi-zig/zig-out/
/leaf-plugins/socks5-cabi-zig/.zig-cache/
# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
Cargo.lock
# These are backup files generated by rustfmt
**/*.rs.bk
# Swap
[._]*.s[a-v][a-z]
!*.svg # comment out if you don't need vector files
[._]*.sw[a-p]
[._]s[a-rt-v][a-z]
[._]ss[a-gi-z]
[._]sw[a-p]
# Session
Session.vim
Sessionx.vim
# Temporary
.netrwhist
*~
# Auto-generated tag files
tags
# Persistent undo
[._]*.un~
# General
.DS_Store
.AppleDouble
.LSOverride
# Icon must end with two \r
Icon
# Thumbnails
._*
# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk