Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
msoos authored Jul 14, 2024
1 parent 68f1ae1 commit f2b736f
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,16 @@ jobs:
# Build your program with the given configuration
run: cmake --build ${{github.workspace}}/build

- name: Test
working-directory: ${{github.workspace}}/build
# Execute tests defined by the CMake configuration.
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
run: ctest -C ${{env.build_type}}

- name: Upload Artifact - Linux
if: matrix.os == 'ubuntu-20.04' && matrix.staticcompile == 'ON'
uses: actions/upload-artifact@v3
with:
name: arjun-linux-amd64
path: arjun/arjun

- name: Upload Artifact - Mac
if: matrix.os == 'macos-13' && matrix.staticcompile == 'ON'
uses: actions/upload-artifact@v3
with:
name: arjun-mac-amd64
path: arjun/arjun

0 comments on commit f2b736f

Please sign in to comment.