Skip to content

Commit 5751f6b

Browse files
committed
Hello, World!
0 parents  commit 5751f6b

35 files changed

+7484
-0
lines changed

.github/workflows/build.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Build Plugin
2+
on:
3+
push:
4+
branches: ["master"]
5+
pull_request:
6+
branches: ["master"]
7+
jobs:
8+
release:
9+
name: Release - ${{ matrix.platform.target }}
10+
strategy:
11+
matrix:
12+
platform:
13+
- os: windows-latest
14+
target: x86_64-pc-windows-msvc
15+
runs-on: ${{ matrix.platform.os }}
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v4
19+
- uses: Swatinem/rust-cache@v2
20+
- name: Build binary
21+
uses: houseabsolute/actions-rust-cross@v0
22+
with:
23+
command: build
24+
target: ${{ matrix.platform.target }}
25+
args: "--locked --release"
26+
strip: true
27+
- name: Upload artifact
28+
uses: actions/upload-artifact@v4
29+
with:
30+
name: ${{ matrix.platform.target }}
31+
path: |
32+
target/${{ matrix.platform.target }}/release/w4on2_cli.exe
33+
target/${{ matrix.platform.target }}/release/w4on2_plugin.dll
34+
target/${{ matrix.platform.target }}/release/w4on2_plugin_standalone.exe

.gitignore

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/target
2+
/local
3+
zig-cache/
4+
zig-out/
5+
*.log
6+
*.w4on2
7+
.vscode/c_cpp_properties.json

.vscode/settings.json

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"editor.tabSize": 4,
3+
"editor.insertSpaces": true,
4+
"editor.rulers": [120],
5+
"editor.formatOnSave": false,
6+
"[rust]": {
7+
"editor.formatOnSave": true,
8+
"editor.defaultFormatter": "rust-lang.rust-analyzer"
9+
},
10+
"rust-analyzer.linkedProjects": ["./Cargo.toml"],
11+
"files.associations": { "*.h": "c" },
12+
"nixEnvSelector.nixFile": "${workspaceFolder}/shell.nix"
13+
}

0 commit comments

Comments
 (0)