Skip to content

Commit

Permalink
ci: Fix make paths
Browse files Browse the repository at this point in the history
  • Loading branch information
ianichitei authored Sep 17, 2024
1 parent 8c1bc97 commit ca912b2
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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/[email protected]
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/[email protected]
with:
files: 'build/release/*.deb'
files: 'build/${{ matrix.preset }}/*.deb'
repo-token: ${{ secrets.GITHUB_TOKEN }}

Windows-msbuild:
Expand Down

0 comments on commit ca912b2

Please sign in to comment.