File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ name : OpenVR FSR
2+
3+ on : [ push, pull_request ]
4+
5+ jobs :
6+ build :
7+
8+ name : Build for ${{ matrix.os }}
9+ runs-on : ${{ matrix.os }}
10+ strategy :
11+ fail-fast : false
12+ matrix :
13+ os : [windows-latest]
14+ include :
15+ - os : windows-latest
16+ triplet : x64-windows
17+ env :
18+ # Indicates the CMake build directory where project files and binaries are being produced.
19+ CMAKE_BUILD_DIR : ${{ github.workspace }}/build
20+
21+ steps :
22+ - uses : actions/checkout@v2
23+ with :
24+ submodules : true
25+
26+ - uses : lukka/get-cmake@latest
27+
28+ - name : Configure CMake
29+ run : cmake -S "${{github.workspace}}" -B "${{env.CMAKE_BUILD_DIR}}" -D BUILD_SHARED=1
30+
31+ - name : Build
32+ run : cmake --build "${{env.CMAKE_BUILD_DIR}}" --config Release --target ALL_BUILD
33+
34+ - name : Upload a build artifact
35+ uses : actions/upload-artifact@v2
36+ with :
37+ # Artifact name
38+ name : openvr-fsr-${{ matrix.triplet }} # optional, default is artifact
39+ # A file, directory or wildcard pattern that describes what to upload
40+ # Using wildcards so that only the driver directory gets included (if you specify it, then it won't be included)
41+ path : |
42+ ${{github.workspace}}/bin/win64/Release/openvr_api.dll
43+ ${{github.workspace}}/bin/win64/Release/openvr_mod.cfg
You can’t perform that action at this time.
0 commit comments