Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dbierek authored Feb 21, 2025
1 parent 09a5d75 commit 3dff6cf
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,33 +35,33 @@ jobs:
cmake --preset x64-debug .
cmake --build build/x64-debug -j12
# - name: Build and install release
# run: |
# cmake --preset x64-Release .
# cmake --build build/x64-Release -j12
# cmake --install build/x64-Release
- name: Build and install release
run: |
cmake --preset x64-Release .
cmake --build build/x64-Release -j12
cmake --install build/x64-Release
- name: Copy debug artifacts
run: |
mkdir _dist-debug
Copy-Item build/x64-debug/src/* -Destination _dist-debug/ -Recurse
# - name: Copy release artifacts
# run: |
# mkdir _dist-release
# Copy-Item _install/x64-Release/bin/* -Destination _dist-release/ -Recurse
- name: Copy release artifacts
run: |
mkdir _dist-release
Copy-Item _install/x64-Release/bin/* -Destination _dist-release/ -Recurse
- name: Archive debug NavKit
uses: actions/upload-artifact@v4
with:
name: NavKit-Debug
path: _dist-debug/*

# - name: Archive release Navkit
# uses: actions/upload-artifact@v4
# with:
# name: NavKit-Release
# path: _dist-release/*
- name: Archive release Navkit
uses: actions/upload-artifact@v4
with:
name: NavKit-Release
path: _dist-release/*

upload_release:
name: Upload artifacts
Expand All @@ -72,7 +72,7 @@ jobs:
strategy:
matrix:
artifact:
# - NavKit-Release
- NavKit-Release
- NavKit-Debug

steps:
Expand Down

0 comments on commit 3dff6cf

Please sign in to comment.