From 024b1ce9c3d9cfb296af90630a0b1779b36e2ca7 Mon Sep 17 00:00:00 2001 From: Thomas Harrison Date: Sun, 4 Aug 2024 02:24:23 -0400 Subject: [PATCH 01/26] Create cmake-single-platform.yml --- .github/workflows/cmake-single-platform.yml | 39 +++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/cmake-single-platform.yml diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml new file mode 100644 index 0000000..4bd1c79 --- /dev/null +++ b/.github/workflows/cmake-single-platform.yml @@ -0,0 +1,39 @@ +# This starter workflow is for a CMake project running on a single platform. There is a different starter workflow if you need cross-platform coverage. +# See: https://github.com/actions/starter-workflows/blob/main/ci/cmake-multi-platform.yml +name: CMake on a single platform + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +env: + # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) + BUILD_TYPE: Release + +jobs: + build: + # The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac. + # You can convert this to a matrix build if you need cross-platform coverage. + # See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Configure CMake + # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. + # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type + run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} + + - name: Build + # Build your program with the given configuration + run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} + + - name: Test + working-directory: ${{github.workspace}}/build + # Execute tests defined by the CMake configuration. + # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail + run: ctest -C ${{env.BUILD_TYPE}} + From 7a0c3ddfc8c396716d04fb3c6470c3afb102c9c7 Mon Sep 17 00:00:00 2001 From: Thomas Harrison Date: Sun, 4 Aug 2024 02:27:51 -0400 Subject: [PATCH 02/26] Update cmake-single-platform.yml --- .github/workflows/cmake-single-platform.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml index 4bd1c79..3239f24 100644 --- a/.github/workflows/cmake-single-platform.yml +++ b/.github/workflows/cmake-single-platform.yml @@ -22,6 +22,8 @@ jobs: steps: - uses: actions/checkout@v4 + - uses: openrndr/setup-opengl@v1.1 + - name: Configure CMake # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type From 8d04c9e007c4102a127e17b0b8515007a587a945 Mon Sep 17 00:00:00 2001 From: Thomas Harrison Date: Sun, 4 Aug 2024 02:30:24 -0400 Subject: [PATCH 03/26] Update cmake-single-platform.yml --- .github/workflows/cmake-single-platform.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml index 3239f24..b3d0c5c 100644 --- a/.github/workflows/cmake-single-platform.yml +++ b/.github/workflows/cmake-single-platform.yml @@ -22,7 +22,8 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: openrndr/setup-opengl@v1.1 + - name: OpenGL Actions + uses: NishkarshRaj/OpenGL_Actions@1.0 - name: Configure CMake # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. From c581e44c7ac9a26519b7433c6d162ffc2b41d682 Mon Sep 17 00:00:00 2001 From: Thomas Harrison Date: Sun, 4 Aug 2024 02:48:21 -0400 Subject: [PATCH 04/26] Update cmake-single-platform.yml --- .github/workflows/cmake-single-platform.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml index b3d0c5c..7355939 100644 --- a/.github/workflows/cmake-single-platform.yml +++ b/.github/workflows/cmake-single-platform.yml @@ -22,8 +22,11 @@ jobs: steps: - uses: actions/checkout@v4 - - name: OpenGL Actions - uses: NishkarshRaj/OpenGL_Actions@1.0 + - name: Update packages + run: sudo apt-get update + + - name: Install packages + run: sudo apt-get install --fix-missing libgl1-mesa-dev - name: Configure CMake # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. From 65a3961f466ab082efbae50258680feaa0d67e25 Mon Sep 17 00:00:00 2001 From: Thomas Harrison Date: Sun, 4 Aug 2024 02:51:19 -0400 Subject: [PATCH 05/26] Update cmake-single-platform.yml --- .github/workflows/cmake-single-platform.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml index 7355939..19761d5 100644 --- a/.github/workflows/cmake-single-platform.yml +++ b/.github/workflows/cmake-single-platform.yml @@ -17,17 +17,11 @@ jobs: # The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac. # You can convert this to a matrix build if you need cross-platform coverage. # See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix - runs-on: ubuntu-latest + runs-on: jamesbrink/opengl:18.0.1 steps: - uses: actions/checkout@v4 - - name: Update packages - run: sudo apt-get update - - - name: Install packages - run: sudo apt-get install --fix-missing libgl1-mesa-dev - - name: Configure CMake # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type From 3c0c1c251cd19dabd6de6f62caa89be3f0ed9a83 Mon Sep 17 00:00:00 2001 From: Thomas Harrison Date: Sun, 4 Aug 2024 02:52:25 -0400 Subject: [PATCH 06/26] Update cmake-single-platform.yml --- .github/workflows/cmake-single-platform.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml index 19761d5..4bd1c79 100644 --- a/.github/workflows/cmake-single-platform.yml +++ b/.github/workflows/cmake-single-platform.yml @@ -17,7 +17,7 @@ jobs: # The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac. # You can convert this to a matrix build if you need cross-platform coverage. # See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix - runs-on: jamesbrink/opengl:18.0.1 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 From 0285280d4f2d13ad7af97e3a529f6653400e17b3 Mon Sep 17 00:00:00 2001 From: Thomas Harrison Date: Sun, 4 Aug 2024 22:32:39 -0400 Subject: [PATCH 07/26] Update cmake-single-platform.yml --- .github/workflows/cmake-single-platform.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml index 4bd1c79..13be43b 100644 --- a/.github/workflows/cmake-single-platform.yml +++ b/.github/workflows/cmake-single-platform.yml @@ -18,6 +18,7 @@ jobs: # You can convert this to a matrix build if you need cross-platform coverage. # See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix runs-on: ubuntu-latest + container: jamesbrink/opengl steps: - uses: actions/checkout@v4 From 7846ca88a0e148833e863016ad604a8233d0711d Mon Sep 17 00:00:00 2001 From: Thomas Harrison Date: Sun, 4 Aug 2024 22:35:29 -0400 Subject: [PATCH 08/26] Update cmake-single-platform.yml --- .github/workflows/cmake-single-platform.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml index 13be43b..ec89a6e 100644 --- a/.github/workflows/cmake-single-platform.yml +++ b/.github/workflows/cmake-single-platform.yml @@ -23,6 +23,9 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Install OpenGL + run: sudo apt-get update && sudo apt-get install -y freeglut3-dev + - name: Configure CMake # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type From 234e85e2af630518503a8bd6af2cfa6091f84a8a Mon Sep 17 00:00:00 2001 From: Thomas Harrison Date: Sun, 4 Aug 2024 22:35:42 -0400 Subject: [PATCH 09/26] Update cmake-single-platform.yml --- .github/workflows/cmake-single-platform.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml index ec89a6e..ee50a56 100644 --- a/.github/workflows/cmake-single-platform.yml +++ b/.github/workflows/cmake-single-platform.yml @@ -18,7 +18,6 @@ jobs: # You can convert this to a matrix build if you need cross-platform coverage. # See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix runs-on: ubuntu-latest - container: jamesbrink/opengl steps: - uses: actions/checkout@v4 From 6c44b9fb8d8c52428da4cbb4166344117e56ea70 Mon Sep 17 00:00:00 2001 From: Thomas Harrison Date: Sun, 4 Aug 2024 22:37:51 -0400 Subject: [PATCH 10/26] Update cmake-single-platform.yml --- .github/workflows/cmake-single-platform.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml index ee50a56..e64582b 100644 --- a/.github/workflows/cmake-single-platform.yml +++ b/.github/workflows/cmake-single-platform.yml @@ -23,7 +23,8 @@ jobs: - uses: actions/checkout@v4 - name: Install OpenGL - run: sudo apt-get update && sudo apt-get install -y freeglut3-dev + run: sudo apt-get update && sudo apt-get install -y freeglut3-dev libglew-dev + - name: Configure CMake # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. From 1c4574e9576f6ff401dea554af4fb029f9c3c723 Mon Sep 17 00:00:00 2001 From: Thomas Harrison Date: Sun, 4 Aug 2024 22:39:27 -0400 Subject: [PATCH 11/26] Update cmake-single-platform.yml --- .github/workflows/cmake-single-platform.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml index e64582b..2f85e1f 100644 --- a/.github/workflows/cmake-single-platform.yml +++ b/.github/workflows/cmake-single-platform.yml @@ -23,8 +23,7 @@ jobs: - uses: actions/checkout@v4 - name: Install OpenGL - run: sudo apt-get update && sudo apt-get install -y freeglut3-dev libglew-dev - + run: sudo apt-get update && sudo apt-get install -y freeglut3-dev libglew-dev libxrandr-dev - name: Configure CMake # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. From 86d736a23de23f21c4900bb4d8c1ca3ada4631b4 Mon Sep 17 00:00:00 2001 From: Thomas Harrison Date: Sun, 4 Aug 2024 22:41:09 -0400 Subject: [PATCH 12/26] Update cmake-single-platform.yml --- .github/workflows/cmake-single-platform.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml index 2f85e1f..6ff09cd 100644 --- a/.github/workflows/cmake-single-platform.yml +++ b/.github/workflows/cmake-single-platform.yml @@ -23,7 +23,7 @@ jobs: - uses: actions/checkout@v4 - name: Install OpenGL - run: sudo apt-get update && sudo apt-get install -y freeglut3-dev libglew-dev libxrandr-dev + run: sudo apt-get update && sudo apt-get install -y freeglut3-dev libglew-dev libxrandr-dev libxinerama-dev - name: Configure CMake # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. From 4e5ee1b5cb5fcdff697af76f6b018b02038c194f Mon Sep 17 00:00:00 2001 From: Thomas Harrison Date: Sun, 4 Aug 2024 22:43:11 -0400 Subject: [PATCH 13/26] Update cmake-single-platform.yml --- .github/workflows/cmake-single-platform.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml index 6ff09cd..f3a1b4e 100644 --- a/.github/workflows/cmake-single-platform.yml +++ b/.github/workflows/cmake-single-platform.yml @@ -23,7 +23,9 @@ jobs: - uses: actions/checkout@v4 - name: Install OpenGL - run: sudo apt-get update && sudo apt-get install -y freeglut3-dev libglew-dev libxrandr-dev libxinerama-dev + run: > + sudo apt-get update && + sudo apt-get install -y freeglut3-dev libglew-dev libxrandr-dev libxinerama-dev libxcursor-dev - name: Configure CMake # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. From 0c22dd7db5d7ebc0235c61d368fe7072d9b3dd6a Mon Sep 17 00:00:00 2001 From: Thomas Harrison Date: Sun, 4 Aug 2024 22:44:00 -0400 Subject: [PATCH 14/26] Update cmake-single-platform.yml --- .github/workflows/cmake-single-platform.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml index f3a1b4e..b1141ba 100644 --- a/.github/workflows/cmake-single-platform.yml +++ b/.github/workflows/cmake-single-platform.yml @@ -25,7 +25,7 @@ jobs: - name: Install OpenGL run: > sudo apt-get update && - sudo apt-get install -y freeglut3-dev libglew-dev libxrandr-dev libxinerama-dev libxcursor-dev + sudo apt-get install -y freeglut3-dev libglew-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev - name: Configure CMake # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. From bed76b8c879001601929a7585774162e9592837c Mon Sep 17 00:00:00 2001 From: Thomas Harrison Date: Sun, 4 Aug 2024 22:47:22 -0400 Subject: [PATCH 15/26] Update cmake-single-platform.yml --- .github/workflows/cmake-single-platform.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml index b1141ba..7281019 100644 --- a/.github/workflows/cmake-single-platform.yml +++ b/.github/workflows/cmake-single-platform.yml @@ -21,6 +21,7 @@ jobs: steps: - uses: actions/checkout@v4 + submodules: recursive - name: Install OpenGL run: > From dc17231cb7c17da1dd6d1ce76ff8d8cdd011d20a Mon Sep 17 00:00:00 2001 From: Thomas Harrison Date: Sun, 4 Aug 2024 22:48:35 -0400 Subject: [PATCH 16/26] Update cmake-single-platform.yml --- .github/workflows/cmake-single-platform.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml index 7281019..b3fbb5f 100644 --- a/.github/workflows/cmake-single-platform.yml +++ b/.github/workflows/cmake-single-platform.yml @@ -21,7 +21,8 @@ jobs: steps: - uses: actions/checkout@v4 - submodules: recursive + with: + submodules: recursive - name: Install OpenGL run: > From 5b14e751e2a647a20b80d9d54b1c80f491ec9a4d Mon Sep 17 00:00:00 2001 From: Thomas Harrison Date: Sun, 4 Aug 2024 22:49:53 -0400 Subject: [PATCH 17/26] Update cmake-single-platform.yml --- .github/workflows/cmake-single-platform.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml index b3fbb5f..bb960a9 100644 --- a/.github/workflows/cmake-single-platform.yml +++ b/.github/workflows/cmake-single-platform.yml @@ -27,7 +27,7 @@ jobs: - name: Install OpenGL run: > sudo apt-get update && - sudo apt-get install -y freeglut3-dev libglew-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev + sudo apt-get install -y freeglut3-dev libglew-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libsfml-dev - name: Configure CMake # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. From 3a0e518ebdfcef3d248c681966c32ca04c0c2659 Mon Sep 17 00:00:00 2001 From: Thomas Harrison Date: Mon, 5 Aug 2024 22:14:10 -0400 Subject: [PATCH 18/26] Update cmake-single-platform.yml --- .github/workflows/cmake-single-platform.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml index bb960a9..b13faae 100644 --- a/.github/workflows/cmake-single-platform.yml +++ b/.github/workflows/cmake-single-platform.yml @@ -42,5 +42,4 @@ jobs: working-directory: ${{github.workspace}}/build # Execute tests defined by the CMake configuration. # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail - run: ctest -C ${{env.BUILD_TYPE}} - + run: ctest -C ${{env.BUILD_TYPE}} --output-on-failure From a9681eaea32acee1bfec82db9184601217cbbb21 Mon Sep 17 00:00:00 2001 From: Thomas Harrison Date: Mon, 5 Aug 2024 22:18:04 -0400 Subject: [PATCH 19/26] Update cmake-single-platform.yml --- .github/workflows/cmake-single-platform.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml index b13faae..e6a2c17 100644 --- a/.github/workflows/cmake-single-platform.yml +++ b/.github/workflows/cmake-single-platform.yml @@ -27,7 +27,7 @@ jobs: - name: Install OpenGL run: > sudo apt-get update && - sudo apt-get install -y freeglut3-dev libglew-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libsfml-dev + sudo apt-get install -y freeglut3-dev libglew-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libsfml-dev fglrx-updates - name: Configure CMake # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. From 318153f53f9a4b2beb5661b94ab5b26588c6634d Mon Sep 17 00:00:00 2001 From: Thomas Harrison Date: Mon, 5 Aug 2024 22:19:42 -0400 Subject: [PATCH 20/26] Update cmake-single-platform.yml --- .github/workflows/cmake-single-platform.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml index e6a2c17..b13faae 100644 --- a/.github/workflows/cmake-single-platform.yml +++ b/.github/workflows/cmake-single-platform.yml @@ -27,7 +27,7 @@ jobs: - name: Install OpenGL run: > sudo apt-get update && - sudo apt-get install -y freeglut3-dev libglew-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libsfml-dev fglrx-updates + sudo apt-get install -y freeglut3-dev libglew-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libsfml-dev - name: Configure CMake # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. From d38ad0af2f03f2ea92eb171c3fa4760879ad53b2 Mon Sep 17 00:00:00 2001 From: Thomas Harrison Date: Mon, 5 Aug 2024 22:19:56 -0400 Subject: [PATCH 21/26] Update cmake-single-platform.yml --- .github/workflows/cmake-single-platform.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml index b13faae..0ea1b06 100644 --- a/.github/workflows/cmake-single-platform.yml +++ b/.github/workflows/cmake-single-platform.yml @@ -38,8 +38,8 @@ jobs: # Build your program with the given configuration run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} - - name: Test - working-directory: ${{github.workspace}}/build - # Execute tests defined by the CMake configuration. - # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail - run: ctest -C ${{env.BUILD_TYPE}} --output-on-failure + # - name: Test + # working-directory: ${{github.workspace}}/build + # # Execute tests defined by the CMake configuration. + # # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail + # run: ctest -C ${{env.BUILD_TYPE}} --output-on-failure From 9ef2d17d5c136f9016130830f4b4e2f66f22cc11 Mon Sep 17 00:00:00 2001 From: Thomas Harrison Date: Mon, 5 Aug 2024 22:21:26 -0400 Subject: [PATCH 22/26] Update cmake-single-platform.yml --- .github/workflows/cmake-single-platform.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml index 0ea1b06..048f9f6 100644 --- a/.github/workflows/cmake-single-platform.yml +++ b/.github/workflows/cmake-single-platform.yml @@ -27,7 +27,7 @@ jobs: - name: Install OpenGL run: > sudo apt-get update && - sudo apt-get install -y freeglut3-dev libglew-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libsfml-dev + sudo apt-get install -y freeglut3-dev libglew-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libsfml-dev doxygen - name: Configure CMake # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. From 495c6c38ab729dae80960779584879bc143b87b0 Mon Sep 17 00:00:00 2001 From: Thomas Harrison Date: Mon, 5 Aug 2024 22:23:28 -0400 Subject: [PATCH 23/26] Update cmake-single-platform.yml --- .github/workflows/cmake-single-platform.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml index 048f9f6..bb36826 100644 --- a/.github/workflows/cmake-single-platform.yml +++ b/.github/workflows/cmake-single-platform.yml @@ -38,6 +38,9 @@ jobs: # Build your program with the given configuration run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} + - name: List docs + run: ls ${{github.workspace}}/build + # - name: Test # working-directory: ${{github.workspace}}/build # # Execute tests defined by the CMake configuration. From 3bc9d31c875ea8f76c27095019f8021dc5a488e5 Mon Sep 17 00:00:00 2001 From: Thomas Harrison Date: Mon, 5 Aug 2024 22:25:49 -0400 Subject: [PATCH 24/26] Update cmake-single-platform.yml --- .github/workflows/cmake-single-platform.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml index bb36826..e675b17 100644 --- a/.github/workflows/cmake-single-platform.yml +++ b/.github/workflows/cmake-single-platform.yml @@ -39,7 +39,7 @@ jobs: run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} - name: List docs - run: ls ${{github.workspace}}/build + run: ls ${{github.workspace}}/build/docs # - name: Test # working-directory: ${{github.workspace}}/build From 6485af80af1a9c128ed78682ea8dcacc44a15d03 Mon Sep 17 00:00:00 2001 From: Thomas Harrison Date: Mon, 5 Aug 2024 22:28:06 -0400 Subject: [PATCH 25/26] Update cmake-single-platform.yml --- .github/workflows/cmake-single-platform.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml index e675b17..c1290f9 100644 --- a/.github/workflows/cmake-single-platform.yml +++ b/.github/workflows/cmake-single-platform.yml @@ -38,9 +38,17 @@ jobs: # Build your program with the given configuration run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} + - name: Build docs + run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --target docs + - name: List docs run: ls ${{github.workspace}}/build/docs + - uses: actions/upload-artifact@v4 + with: + name: docs + path: ${{github.workspace}}/build/docs/html + # - name: Test # working-directory: ${{github.workspace}}/build # # Execute tests defined by the CMake configuration. From 1feed8a406d13d64f6c586e8ec5bd4758b43d5b1 Mon Sep 17 00:00:00 2001 From: Thomas Harrison Date: Mon, 5 Aug 2024 22:32:35 -0400 Subject: [PATCH 26/26] Update cmake-single-platform.yml --- .github/workflows/cmake-single-platform.yml | 22 +++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml index c1290f9..00fc782 100644 --- a/.github/workflows/cmake-single-platform.yml +++ b/.github/workflows/cmake-single-platform.yml @@ -54,3 +54,25 @@ jobs: # # Execute tests defined by the CMake configuration. # # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail # run: ctest -C ${{env.BUILD_TYPE}} --output-on-failure + + deploy_pages: + needs: build + + # Grant GITHUB_TOKEN the permissions required to make a Pages deployment + permissions: + pages: write # to deploy to Pages + id-token: write # to verify the deployment originates from an appropriate source + + # Deploy to the github-pages environment + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + + # Specify runner + deployment step + runs-on: ubuntu-latest + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 # or specific "vX.X.X" version tag for this action + with: + artifact_name: docs