@@ -103,39 +103,30 @@ jobs:
103
103
if : matrix.os == 'ubuntu-latest'
104
104
run : git submodule update --init
105
105
106
- - name : Configure & build for linux
107
- if : matrix.os == 'ubuntu-latest'
106
+ - name : Configure & build
108
107
run : |
109
108
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 }} ..
111
111
cmake --build . --config ${{ matrix.build_type }}
112
112
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
-
122
113
- name : Upload Artifact - Linux
123
114
if : matrix.os == 'ubuntu-latest' && matrix.staticcompile == 'ON'
124
115
uses : actions/upload-artifact@v4
125
- with :
116
+ with :
126
117
name : cryptominisat5-linux-amd64
127
- path : cryptominisat5
118
+ path : cryptominisat/build/ cryptominisat5
128
119
129
120
- name : Upload Artifact - Mac
130
121
if : matrix.os == 'macos-14' && matrix.staticcompile == 'ON'
131
122
uses : actions/upload-artifact@v4
132
123
with :
133
124
name : cryptominisat5-mac-arm64
134
- path : cryptominisat5
125
+ path : cryptominisat/build/ cryptominisat5
135
126
136
127
- name : Upload Artifact - Windows
137
128
if : matrix.os == 'windows-2022' && matrix.staticcompile == 'ON'
138
129
uses : actions/upload-artifact@v4
139
130
with :
140
131
name : cryptominisat5-win64.exe
141
- path : Release\cryptominisat5.exe
132
+ path : cryptominisat\build\ Release\cryptominisat5.exe
0 commit comments