Skip to content

Commit cfffe29

Browse files
committed
Fix artifacts
1 parent 3fdbc6c commit cfffe29

File tree

1 file changed

+7
-16
lines changed

1 file changed

+7
-16
lines changed

.github/workflows/binary-build.yml

+7-16
Original file line numberDiff line numberDiff line change
@@ -103,39 +103,30 @@ jobs:
103103
if: matrix.os == 'ubuntu-latest'
104104
run: git submodule update --init
105105

106-
- name: Configure & build for linux
107-
if: matrix.os == 'ubuntu-latest'
106+
- name: Configure & build
108107
run: |
109108
cd cryptominisat
110-
cmake -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DENABLE_TESTING=OFF -DSTATICCOMPILE=${{ matrix.staticcompile }}
109+
mkdir -p build && cd build
110+
cmake -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DENABLE_TESTING=OFF -DSTATICCOMPILE=${{ matrix.staticcompile }} ..
111111
cmake --build . --config ${{ matrix.build_type }}
112112
113-
114-
- name: Configure & buidl for non-linux
115-
if: matrix.os != 'ubuntu-latest'
116-
run: |
117-
cd cryptominisat
118-
cmake -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DENABLE_TESTING=OFF -DSTATICCOMPILE=${{ matrix.staticcompile }}
119-
cmake --build . --config ${{ matrix.build_type }}
120-
ctest -C ${{ matrix.build_type }}
121-
122113
- name: Upload Artifact - Linux
123114
if: matrix.os == 'ubuntu-latest' && matrix.staticcompile == 'ON'
124115
uses: actions/upload-artifact@v4
125-
with:
116+
with:
126117
name: cryptominisat5-linux-amd64
127-
path: cryptominisat5
118+
path: cryptominisat/build/cryptominisat5
128119

129120
- name: Upload Artifact - Mac
130121
if: matrix.os == 'macos-14' && matrix.staticcompile == 'ON'
131122
uses: actions/upload-artifact@v4
132123
with:
133124
name: cryptominisat5-mac-arm64
134-
path: cryptominisat5
125+
path: cryptominisat/build/cryptominisat5
135126

136127
- name: Upload Artifact - Windows
137128
if: matrix.os == 'windows-2022' && matrix.staticcompile == 'ON'
138129
uses: actions/upload-artifact@v4
139130
with:
140131
name: cryptominisat5-win64.exe
141-
path: Release\cryptominisat5.exe
132+
path: cryptominisat\build\Release\cryptominisat5.exe

0 commit comments

Comments
 (0)