Skip to content

Commit

Permalink
build packages in Github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rabauke committed Oct 12, 2023
1 parent fd356d3 commit 9b06232
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/build-ubuntu-clang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,18 @@ jobs:
cd build
cmake -G Ninja -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_INSTALL_PREFIX="$HOME/trng4" -DCMAKE_BUILD_TYPE=${{ matrix.build-type }} ..
cmake --build . -j
- name: Test TRNG4
run: |
cd build
ctest --output-on-failure
- name: Install TRNG4
run: |
cd build
cmake --build . --target install
- name: Pack TRNG4
run: |
cd build
cmake --build . --target package
- name: Test TRNG4
run: |
cd build
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/build-ubuntu-gcc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,18 @@ jobs:
cd build
cmake -G Ninja -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX="$HOME/trng4" -DCMAKE_BUILD_TYPE=${{ matrix.build-type }} ..
cmake --build . -j
- name: Test TRNG4
run: |
cd build
ctest --output-on-failure
- name: Install TRNG4
run: |
cd build
cmake --build . --target install
- name: Pack TRNG4
run: |
cd build
cmake --build . --target package
- name: Test TRNG4
run: |
cd build
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/build-windows-msvc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,14 @@ jobs:
cd build
cmake -G Ninja -DCMAKE_C_COMPILER=cl -DCMAKE_CXX_COMPILER=cl -DCMAKE_INSTALL_PREFIX="$HOME/trng4" -DCMAKE_BUILD_TYPE=${{ matrix.build-type }} ..
cmake --build . -j
- name: Install TRNG4
run: |
cd build
cmake --build . --target install
- name: Pack TRNG4
run: |
cd build
cmake --build . --target package
- name: Test TRNG4
run: |
cd build
Expand Down

0 comments on commit 9b06232

Please sign in to comment.