From b7b0ded927e1ee7453305c6d9258787ba21ea5bc Mon Sep 17 00:00:00 2001 From: Walter Schell Date: Sat, 24 Jun 2023 21:37:17 -0400 Subject: [PATCH] All workflows updated --- .github/workflows/build-emscripten-cxx.yml | 14 ++++++++++++++ .github/workflows/build-emscripten.yml | 14 ++++++++++++++ .github/workflows/build-linux-cxx.yml | 17 ++++++++++++++++- .github/workflows/build-osx-cxx.yml | 17 ++++++++++++++++- .github/workflows/build-osx.yml | 18 +++++++++++++++++- .github/workflows/build-windows-cxx.yml | 17 ++++++++++++++++- .github/workflows/build-windows.yml | 17 ++++++++++++++++- 7 files changed, 109 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-emscripten-cxx.yml b/.github/workflows/build-emscripten-cxx.yml index 28bc761..9ccab12 100644 --- a/.github/workflows/build-emscripten-cxx.yml +++ b/.github/workflows/build-emscripten-cxx.yml @@ -35,3 +35,17 @@ jobs: # Execute the build. You can specify a specific target with "--target " run: cmake --build . --config $BUILD_TYPE + - name: Install + working-directory: ${{github.workspace}}/build + shell: bash + run: cmake --install . --prefix $GITHUB_WORKSPACE/sysroot + + - name: Configure Test of CMake Package + working-directory: ${{github.workspace}} + shell: bash + run: cmake -S $GITHUB_WORKSPACE/lua-config-package-tests -B build-pkg-test -DCMAKE_PREFIX_PATH=$GITHUB_WORKSPACE/sysroot + + - name: Build Test of CMake Package + working-directory: ${{github.workspace}} + shell: bash + run: cmake --build build-pkg-test \ No newline at end of file diff --git a/.github/workflows/build-emscripten.yml b/.github/workflows/build-emscripten.yml index aeade19..74e7dc4 100644 --- a/.github/workflows/build-emscripten.yml +++ b/.github/workflows/build-emscripten.yml @@ -35,3 +35,17 @@ jobs: # Execute the build. You can specify a specific target with "--target " run: cmake --build . --config $BUILD_TYPE + - name: Install + working-directory: ${{github.workspace}}/build + shell: bash + run: cmake --install . --prefix $GITHUB_WORKSPACE/sysroot + + - name: Configure Test of CMake Package + working-directory: ${{github.workspace}} + shell: bash + run: cmake -S $GITHUB_WORKSPACE/lua-config-package-tests -B build-pkg-test -DCMAKE_PREFIX_PATH=$GITHUB_WORKSPACE/sysroot + + - name: Build Test of CMake Package + working-directory: ${{github.workspace}} + shell: bash + run: cmake --build build-pkg-test \ No newline at end of file diff --git a/.github/workflows/build-linux-cxx.yml b/.github/workflows/build-linux-cxx.yml index 36d6e22..60f774d 100644 --- a/.github/workflows/build-linux-cxx.yml +++ b/.github/workflows/build-linux-cxx.yml @@ -43,7 +43,22 @@ jobs: # Execute the build. You can specify a specific target with "--target " run: cmake --build . --config $BUILD_TYPE + - name: Install + working-directory: ${{github.workspace}}/build + shell: bash + run: cmake --install . --prefix $GITHUB_WORKSPACE/sysroot + - name: Test working-directory: ${{github.workspace}}/build shell: bash - run: ctest -V \ No newline at end of file + run: ctest -V + + - name: Configure Test of CMake Package + working-directory: ${{github.workspace}} + shell: bash + run: cmake -S $GITHUB_WORKSPACE/lua-config-package-tests -B build-pkg-test -DCMAKE_PREFIX_PATH=$GITHUB_WORKSPACE/sysroot + + - name: Build Test of CMake Package + working-directory: ${{github.workspace}} + shell: bash + run: cmake --build build-pkg-test \ No newline at end of file diff --git a/.github/workflows/build-osx-cxx.yml b/.github/workflows/build-osx-cxx.yml index f6869e6..ba1520c 100644 --- a/.github/workflows/build-osx-cxx.yml +++ b/.github/workflows/build-osx-cxx.yml @@ -43,7 +43,22 @@ jobs: # Execute the build. You can specify a specific target with "--target " run: cmake --build . --config $BUILD_TYPE + - name: Install + working-directory: ${{github.workspace}}/build + shell: bash + run: cmake --install . --prefix $GITHUB_WORKSPACE/sysroot + - name: Test working-directory: ${{github.workspace}}/build shell: bash - run: ctest -V \ No newline at end of file + run: ctest -V + + - name: Configure Test of CMake Package + working-directory: ${{github.workspace}} + shell: bash + run: cmake -S $GITHUB_WORKSPACE/lua-config-package-tests -B build-pkg-test -DCMAKE_PREFIX_PATH=$GITHUB_WORKSPACE/sysroot + + - name: Build Test of CMake Package + working-directory: ${{github.workspace}} + shell: bash + run: cmake --build build-pkg-test \ No newline at end of file diff --git a/.github/workflows/build-osx.yml b/.github/workflows/build-osx.yml index 85d5a92..8afa097 100644 --- a/.github/workflows/build-osx.yml +++ b/.github/workflows/build-osx.yml @@ -43,7 +43,23 @@ jobs: # Execute the build. You can specify a specific target with "--target " run: cmake --build . --config $BUILD_TYPE + - name: Install + working-directory: ${{github.workspace}}/build + shell: bash + run: cmake --install . --prefix $GITHUB_WORKSPACE/sysroot + + - name: Test working-directory: ${{github.workspace}}/build shell: bash - run: ctest -V \ No newline at end of file + run: ctest -V + + - name: Configure Test of CMake Package + working-directory: ${{github.workspace}} + shell: bash + run: cmake -S $GITHUB_WORKSPACE/lua-config-package-tests -B build-pkg-test -DCMAKE_PREFIX_PATH=$GITHUB_WORKSPACE/sysroot + + - name: Build Test of CMake Package + working-directory: ${{github.workspace}} + shell: bash + run: cmake --build build-pkg-test \ No newline at end of file diff --git a/.github/workflows/build-windows-cxx.yml b/.github/workflows/build-windows-cxx.yml index 34eb4b2..0cc05f8 100644 --- a/.github/workflows/build-windows-cxx.yml +++ b/.github/workflows/build-windows-cxx.yml @@ -43,7 +43,22 @@ jobs: # Execute the build. You can specify a specific target with "--target " run: cmake --build . --config $BUILD_TYPE + - name: Install + working-directory: ${{github.workspace}}/build + shell: bash + run: cmake --install . --prefix $GITHUB_WORKSPACE/sysroot + - name: Test working-directory: ${{github.workspace}}/build shell: bash - run: ctest -V -C $BUILD_TYPE \ No newline at end of file + run: ctest -V -C $BUILD_TYPE + + - name: Configure Test of CMake Package + working-directory: ${{github.workspace}} + shell: bash + run: cmake -S $GITHUB_WORKSPACE/lua-config-package-tests -B build-pkg-test -DCMAKE_PREFIX_PATH=$GITHUB_WORKSPACE/sysroot + + - name: Build Test of CMake Package + working-directory: ${{github.workspace}} + shell: bash + run: cmake --build build-pkg-test \ No newline at end of file diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index c16da98..5616ed2 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -43,7 +43,22 @@ jobs: # Execute the build. You can specify a specific target with "--target " run: cmake --build . --config $BUILD_TYPE + - name: Install + working-directory: ${{github.workspace}}/build + shell: bash + run: cmake --install . --prefix $GITHUB_WORKSPACE/sysroot + - name: Test working-directory: ${{github.workspace}}/build shell: bash - run: ctest -V -C $BUILD_TYPE \ No newline at end of file + run: ctest -V -C $BUILD_TYPE + + - name: Configure Test of CMake Package + working-directory: ${{github.workspace}} + shell: bash + run: cmake -S $GITHUB_WORKSPACE/lua-config-package-tests -B build-pkg-test -DCMAKE_PREFIX_PATH=$GITHUB_WORKSPACE/sysroot + + - name: Build Test of CMake Package + working-directory: ${{github.workspace}} + shell: bash + run: cmake --build build-pkg-test \ No newline at end of file