diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e5481f0..c00d809 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -41,8 +41,8 @@ jobs: run: | ./configure.sh make build CMAKE_EXTRA_FLAGS="${{ matrix.defines }}" - mkdir -p ../examples/server/build - cd ../examples/server/build + mkdir -p examples/server/build + cd examples/server/build cmake .. ${{ matrix.defines }} cmake --build . --config Release @@ -65,8 +65,8 @@ jobs: run: | ./configure.sh make build CMAKE_EXTRA_FLAGS="-DLLAMA_NATIVE=OFF -DLLAMA_CUDA=ON" - mkdir -p ../examples/server/build - cd ../examples/server/build + mkdir -p examples/server/build + cd examples/server/build cmake .. -DLLAMA_NATIVE=OFF -DLLAMA_CUDA=ON cmake --build . --config Release @@ -85,7 +85,10 @@ jobs: run: | ./configure.sh make build - ls -la + mkdir -p examples/server/build + cd examples/server/build + cmake .. + cmake --build . --config Release macOS-amd64-build: runs-on: macos-13 @@ -102,8 +105,8 @@ jobs: run: | ./configure.sh make build - mkdir -p ../examples/server/build - cd ../examples/server/build + mkdir -p examples/server/build + cd examples/server/build cmake .. cmake --build . --config Release @@ -145,7 +148,8 @@ jobs: - name: Build shell: cmd run: | - ./configure.bat + cmake -S ./third-party -B ./build_deps/third-party + cmake --build ./build_deps/third-party --config Release -j %NUMBER_OF_PROCESSORS% make build CMAKE_EXTRA_FLAGS="${{ matrix.defines }}" mkdir ../examples/server/build cd ../examples/server/build @@ -188,7 +192,8 @@ jobs: - name: Build shell: cmd run: | - ./configure.bat + cmake -S ./third-party -B ./build_deps/third-party + cmake --build ./build_deps/third-party --config Release -j %NUMBER_OF_PROCESSORS% mkdir -p build cd build cmake .. ${{ matrix.instructions }} ${{ matrix.flags }}