mirror of
https://github.com/bitdefender/bddisasm.git
synced 2024-12-22 22:18:09 +00:00
Update ci.yml
This commit is contained in:
parent
e2e972c84f
commit
a20d4e4755
34
.github/workflows/ci.yml
vendored
34
.github/workflows/ci.yml
vendored
@ -38,24 +38,24 @@ jobs:
|
||||
- name: Build dependencies
|
||||
run: |
|
||||
cd rapidjson
|
||||
mkdir _build
|
||||
cd _build
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ..
|
||||
make -j$(nproc)
|
||||
sudo make install
|
||||
cd ..
|
||||
cd ..
|
||||
- name: Build bddisasm and bdshemu
|
||||
- name: Build all
|
||||
run: |
|
||||
mkdir build
|
||||
cd build
|
||||
cmake .. -DINCLUDE_TOOL=y -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
|
||||
make bddisasm bdshemu -j$(nproc)
|
||||
cmake .. -DCMAKE_BUILD_TYPE=Release
|
||||
make -j$(nproc)
|
||||
cd -
|
||||
- name: Build disasmtool_lix
|
||||
- name: Install
|
||||
run: |
|
||||
cd build
|
||||
make disasmtool -j$(nproc)
|
||||
sudo make install
|
||||
cd -
|
||||
- name: Install setuptools
|
||||
run: |
|
||||
@ -63,10 +63,9 @@ jobs:
|
||||
python3 -m pip install setuptools
|
||||
- name: Build pybddisasm
|
||||
run: |
|
||||
sudo make install
|
||||
cd pybddisasm
|
||||
python3 setup.py build
|
||||
cd ..
|
||||
cd -
|
||||
- name: Create package
|
||||
if: ${{ github.event_name == 'release' }}
|
||||
run: |
|
||||
@ -80,7 +79,7 @@ jobs:
|
||||
files: 'build/*.deb'
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
Windows-build:
|
||||
Windows-msbuild:
|
||||
|
||||
runs-on: windows-latest
|
||||
|
||||
@ -88,7 +87,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Add msbuild to PATH
|
||||
uses: microsoft/setup-msbuild@v1.0.2
|
||||
- name: Build bddisasm and bdshemu for x64
|
||||
- name: Build all
|
||||
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
|
||||
@ -110,6 +109,19 @@ jobs:
|
||||
files: 'x64-windows-release.zip;x86-windows-release.zip'
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
Windows-cmake-build:
|
||||
|
||||
runs-on: windows-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Build all
|
||||
run: |
|
||||
mkdir build
|
||||
cd build
|
||||
cmake .. -G Ninja
|
||||
ninja
|
||||
cd -
|
||||
|
||||
Code-checks:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user