Skip to content

Commit

Permalink
test: build
Browse files Browse the repository at this point in the history
  • Loading branch information
sangjanai committed Apr 29, 2024
1 parent 8ddb7ea commit 8367ddd
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit 8367ddd

Please sign in to comment.