1
0
mirror of https://github.com/bitdefender/bddisasm.git synced 2024-11-21 23:18:09 +00:00

ci: Fix make paths

This commit is contained in:
Anichitei Ionel-Cristinel 2024-09-17 14:45:24 +03:00 committed by GitHub
parent 8c1bc973d3
commit ca912b2819
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -38,7 +38,10 @@ jobs:
- name: Configure CMake
run: cmake --preset ${{ matrix.preset }} -DCMAKE_INSTALL_PREFIX=/usr
- name: Build
run: make -f ./build/${{ matrix.preset }} -j$(nproc)
run: |
cd ./build/${{ matrix.preset }}
make -j$(nproc)
cd -
- name: Test bddisasm
run: python3 ./tests/main.py --disasm ./build/${{ matrix.preset }}/disasmtool/disasmtool --conf ./bddisasm_test/conf-x86.json
- name: Test bdshemu
@ -56,20 +59,23 @@ jobs:
cd -
- name: Create package
if: ${{ github.event_name == 'release' && matrix.preset == 'release' }}
run: make -f ./build/${{ matrix.preset }} package
run: |
cd ./build/${{ matrix.preset }}
make package
cd -
- name: Attest Build Provenance
if: ${{ github.event_name == 'release' && matrix.preset == 'release' }}
uses: actions/attest-build-provenance@v1.1.0
with:
subject-path: |
build/release/disasmtool/disasmtool
build/release/*.a
build/release/*.deb
build/${{ matrix.preset }}/disasmtool/disasmtool
build/${{ matrix.preset }}/*.a
build/${{ matrix.preset }}/*.deb
- name: Release
if: ${{ github.event_name == 'release' && matrix.preset == 'release' }}
uses: AButler/upload-release-assets@v3.0
with:
files: 'build/release/*.deb'
files: 'build/${{ matrix.preset }}/*.deb'
repo-token: ${{ secrets.GITHUB_TOKEN }}
Windows-msbuild: