File tree Expand file tree Collapse file tree 6 files changed +56
-1
lines changed Expand file tree Collapse file tree 6 files changed +56
-1
lines changed Original file line number Diff line number Diff line change 5
5
workflow_dispatch :
6
6
7
7
jobs :
8
- build :
8
+ linux-build :
9
+ runs-on : ubuntu-latest
10
+
11
+ steps :
12
+ - uses : actions/checkout@v4
13
+
14
+ - uses : actions/setup-node@v4
15
+ with :
16
+ node-version : 20
17
+
18
+ - name : Build project
19
+ run : ./_build.sh
20
+
21
+ - name : Run project
22
+ run : ./_run.sh
23
+
24
+ windows-build :
9
25
runs-on : windows-latest
10
26
11
27
steps :
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ set -ex
3
+
4
+ mkdir -p build && cd build
5
+
6
+ cmake ..
7
+ cmake --build . --config Release
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ set -ex
3
+ dotnet publish -c Release -r linux-x64 -p:PublishDir=" $( pwd) /dist" --self-contained
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ set -ex
3
+ dotnet publish -c Release -p:PublishDir=" $( pwd) /dist"
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ set -ex
3
+
4
+ npm install
5
+
6
+ cd Bootstrapper
7
+ ./build.sh
8
+ cd ..
9
+
10
+ cd DemoApplication
11
+ ./build.sh
12
+ cd ..
13
+
14
+ cd RuntimePatcher
15
+ ./build.sh
16
+ cd ..
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ set -ex
3
+
4
+ ./DemoApplication/dist/DemoApplication &
5
+ npm start -- inject \
6
+ DemoApplication \
7
+ Bootstrapper/build/libBootstrapper.so \
8
+ RuntimePatcher/dist/RuntimePatcher.runtimeconfig.json \
9
+ RuntimePatcher/dist/RuntimePatcher.dll \
10
+ " RuntimePatcher.Main, RuntimePatcher" " InitializePatches"
You can’t perform that action at this time.
0 commit comments