File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Build ASI Loader
2+
3+ on :
4+ push :
5+ branches : [ test ]
6+
7+ jobs :
8+ build :
9+ runs-on : windows-latest
10+
11+ steps :
12+ - name : Checkout repository
13+ uses : actions/checkout@v4
14+
15+ - name : Build
16+ shell : cmd
17+ run : |
18+ call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars32.bat"
19+ cl -c /GS- /GF /O2 vorbisFile.cpp
20+ link /dll /nodefaultlib /entry:_DllMainCRTStartup@12 vorbisFile.obj Kernel32.lib LIBCMT.LIB
21+
22+ - name : Upload artifact
23+ uses : actions/upload-artifact@v4
24+ with :
25+ name : vorbisFile-dll
26+ path : vorbisFile.dll
Original file line number Diff line number Diff line change 1+ name : Release ASI Loader
2+
3+ on :
4+ push :
5+ tags :
6+ - ' v[0-9]+.[0-9]+.[0-9]+**'
7+
8+ jobs :
9+ release :
10+ runs-on : windows-latest
11+
12+ steps :
13+ - name : Checkout repository
14+ uses : actions/checkout@v4
15+
16+ - name : Build
17+ shell : cmd
18+ run : |
19+ call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars32.bat"
20+ cl -c /GS- /GF /O2 vorbisFile.cpp
21+ link /dll /nodefaultlib /entry:_DllMainCRTStartup@12 vorbisFile.obj Kernel32.lib LIBCMT.LIB
22+
23+ - name : Create Release
24+ uses : ncipollo/release-action@main
25+ with :
26+ token : ${{ secrets.GITHUB_TOKEN }}
27+ tag : ${{ github.ref_name }}
28+ artifacts : " vorbisFile.dll"
29+ allowUpdates : true
You can’t perform that action at this time.
0 commit comments