Skip to content

Commit f2b736f

Browse files
authored
Update build.yml
1 parent 68f1ae1 commit f2b736f

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

.github/workflows/build.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,16 @@ jobs:
121121
# Build your program with the given configuration
122122
run: cmake --build ${{github.workspace}}/build
123123

124-
- name: Test
125-
working-directory: ${{github.workspace}}/build
126-
# Execute tests defined by the CMake configuration.
127-
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
128-
run: ctest -C ${{env.build_type}}
129-
124+
- name: Upload Artifact - Linux
125+
if: matrix.os == 'ubuntu-20.04' && matrix.staticcompile == 'ON'
126+
uses: actions/upload-artifact@v3
127+
with:
128+
name: arjun-linux-amd64
129+
path: arjun/arjun
130+
131+
- name: Upload Artifact - Mac
132+
if: matrix.os == 'macos-13' && matrix.staticcompile == 'ON'
133+
uses: actions/upload-artifact@v3
134+
with:
135+
name: arjun-mac-amd64
136+
path: arjun/arjun

0 commit comments

Comments
 (0)