|
|
|
@ -19,6 +19,9 @@ on:
|
|
|
|
|
- 'bddisasm_test/**'
|
|
|
|
|
- 'bdshemu_test/**'
|
|
|
|
|
- 'LICENSE'
|
|
|
|
|
release:
|
|
|
|
|
types: [published]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
Linux-build:
|
|
|
|
@ -81,6 +84,19 @@ jobs:
|
|
|
|
|
run: MSBuild /t:Rebuild /p:Configuration=Release /p:Platform=x64 bddisasm.sln
|
|
|
|
|
- name: Build bddisasm and bdshemu for Win32
|
|
|
|
|
run: MSBuild /t:Rebuild /p:Configuration=Release /p:Platform=Win32 bddisasm.sln
|
|
|
|
|
- name: Zip binaries
|
|
|
|
|
run: |
|
|
|
|
|
del bin\x64\Release\*.idb
|
|
|
|
|
del bin\Win32\Release\*.idb
|
|
|
|
|
tar.exe -acf x64-windows-release.zip bin\x64\Release
|
|
|
|
|
tar.exe -acf x86-windows-release.zip bin\Win32\Release
|
|
|
|
|
if: ${{ github.event_name == 'release' }}
|
|
|
|
|
- name: Release
|
|
|
|
|
uses: AButler/upload-release-assets@v2.0
|
|
|
|
|
with:
|
|
|
|
|
files: 'x64-windows-release.zip;x86-windows-release.zip'
|
|
|
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Code-checks:
|
|
|
|
|
|
|
|
|
|