File tree 1 file changed +34
-0
lines changed
1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build
2
+
3
+ on :
4
+ push :
5
+ branches : [ "master" ]
6
+ pull_request :
7
+ branches : [ "master" ]
8
+
9
+ env :
10
+ CONFIGURE_PRESET : " default-release"
11
+
12
+ jobs :
13
+ build-linux :
14
+ runs-on : ubuntu-latest
15
+ steps :
16
+ - uses : actions/checkout@v3
17
+ with :
18
+ submodules : ' true'
19
+ - name : Setup Binary Ninja
20
+ id : setup-binja
21
+ uses : emesare/setup-binary-ninja@v1-beta
22
+ with :
23
+ python-support : false
24
+ license : ${{ secrets.BN_SERIAL }}
25
+ - name : Configure CMake
26
+ run : cmake --preset ${{env.CONFIGURE_PRESET}} -D BN_INSTALL_DIR=${{ steps.setup-binja.outputs.install-path }}
27
+ - name : Build
28
+ working-directory : ${{github.workspace}}/out/build
29
+ run : cmake --build ${{env.CONFIGURE_PRESET}}
30
+ - name : Upload artifact
31
+ uses : actions/upload-artifact@v3
32
+ with :
33
+ name : linux-${{env.CONFIGURE_PRESET}}
34
+ path : ${{github.workspace}}/out/build/${{env.CONFIGURE_PRESET}}/libbinja-msvc.so
You can’t perform that action at this time.
0 commit comments