Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 14 additions & 11 deletions .github/workflows/native_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ on:
- 'lglpy/**'
- '**/*.md'

env:
CMAKE_BUILD_PARALLEL_LEVEL: '8'

jobs:
build-ubuntu-x64-clang:
name: Ubuntu x64 Clang
Expand All @@ -35,7 +38,7 @@ jobs:
mkdir layer_example/build_rel
cd layer_example/build_rel
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ..
make -j4
cmake --build .

- name: Build layer_gpu_support
run: |
Expand All @@ -44,7 +47,7 @@ jobs:
mkdir layer_gpu_support/build_rel
cd layer_gpu_support/build_rel
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ..
make -j4
cmake --build .

- name: Build layer_gpu_timeline
run: |
Expand All @@ -53,7 +56,7 @@ jobs:
mkdir layer_gpu_timeline/build_rel
cd layer_gpu_timeline/build_rel
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ..
make -j4
cmake --build .

- name: Build layer_gpu_profile
run: |
Expand All @@ -62,7 +65,7 @@ jobs:
mkdir layer_gpu_profile/build_rel
cd layer_gpu_profile/build_rel
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ..
make -j4
cmake --build .

- name: Build and run unit tests
run: |
Expand All @@ -71,7 +74,7 @@ jobs:
mkdir build_unittest
cd build_unittest
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=./ ..
make install -j4
cmake --build . --target install
./bin/unittest_comms

build-ubuntu-x64-gcc:
Expand All @@ -90,7 +93,7 @@ jobs:
mkdir layer_example/build_rel
cd layer_example/build_rel
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ..
make -j4
cmake --build .

- name: Build layer_gpu_support
run: |
Expand All @@ -99,7 +102,7 @@ jobs:
mkdir layer_gpu_support/build_rel
cd layer_gpu_support/build_rel
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ..
make -j4
cmake --build .

- name: Build layer_gpu_timeline
run: |
Expand All @@ -108,7 +111,7 @@ jobs:
mkdir layer_gpu_timeline/build_rel
cd layer_gpu_timeline/build_rel
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ..
make -j4
cmake --build .

- name: Build layer_gpu_profile
run: |
Expand All @@ -117,7 +120,7 @@ jobs:
mkdir layer_gpu_profile/build_rel
cd layer_gpu_profile/build_rel
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ..
make -j4
cmake --build .

build-android:
name: Android
Expand Down Expand Up @@ -163,7 +166,7 @@ jobs:
mkdir layer_example/build_rel
cd layer_example/build_rel
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ..
make -j4
cmake --build .

- name: Check unexpected diffs
run: |
Expand All @@ -185,4 +188,4 @@ jobs:
mkdir layer_test/build_rel
cd layer_test/build_rel
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ..
make -j4
cmake --build .
2 changes: 1 addition & 1 deletion generator/vk_layer/android_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ cmake \
-DCMAKE_WARN_DEPRECATED=OFF \
..

cmake --build . -j1
cmake --build .

popd

Expand Down
2 changes: 1 addition & 1 deletion layer_example/android_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ cmake \
-DCMAKE_WARN_DEPRECATED=OFF \
..

cmake --build . -j1
cmake --build .

popd

Expand Down
2 changes: 1 addition & 1 deletion layer_gpu_profile/android_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ cmake \
-DCMAKE_WARN_DEPRECATED=OFF \
..

cmake --build . -j1
cmake --build . -j4

popd

Expand Down
2 changes: 1 addition & 1 deletion layer_gpu_support/android_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ cmake \
-DCMAKE_WARN_DEPRECATED=OFF \
..

cmake --build . -j1
cmake --build .

popd

Expand Down
2 changes: 1 addition & 1 deletion layer_gpu_timeline/android_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ cmake \
-DCMAKE_WARN_DEPRECATED=OFF \
..

cmake --build . -j1
cmake --build .

popd

Expand Down