👷 Updated GitHub actions
This commit is contained in:
		
							
								
								
									
										14
									
								
								.github/workflows/main.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										14
									
								
								.github/workflows/main.yml
									
									
									
									
										vendored
									
									
								
							| @@ -10,7 +10,11 @@ jobs: | |||||||
|       CONAN_USER_HOME_SHORT: None |       CONAN_USER_HOME_SHORT: None | ||||||
|     runs-on: windows-latest |     runs-on: windows-latest | ||||||
|     steps: |     steps: | ||||||
|       - run: echo $env:BUILD_TOOLS_PATH | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append |       - name: Configure sccache | ||||||
|  |         uses: actions/github-script@v7 | ||||||
|  |         with: | ||||||
|  |           script: | | ||||||
|  |             core.addPath(process.env.BUILD_TOOLS_PATH); | ||||||
|  |  | ||||||
|       - uses: actions/checkout@v4 |       - uses: actions/checkout@v4 | ||||||
|  |  | ||||||
| @@ -24,7 +28,7 @@ jobs: | |||||||
|         run: choco install conan ninja -y |         run: choco install conan ninja -y | ||||||
|  |  | ||||||
|       - name: Enable Developer Command Prompt |       - name: Enable Developer Command Prompt | ||||||
|         uses: ilammy/msvc-dev-cmd@v1.13.0 |         uses: ilammy/msvc-dev-cmd@v1 | ||||||
|  |  | ||||||
|       - name: Build |       - name: Build | ||||||
|         run: | |         run: | | ||||||
| @@ -47,7 +51,7 @@ jobs: | |||||||
|       - uses: actions/checkout@v4 |       - uses: actions/checkout@v4 | ||||||
|  |  | ||||||
|       - name: Cache conan |       - name: Cache conan | ||||||
|         uses: actions/cache@v4.0.0 |         uses: actions/cache@v4 | ||||||
|         with: |         with: | ||||||
|           key: conan-linux-${{ hashFiles('conanfile.txt') }} |           key: conan-linux-${{ hashFiles('conanfile.txt') }} | ||||||
|           path: ~/.conan2/ |           path: ~/.conan2/ | ||||||
| @@ -56,7 +60,7 @@ jobs: | |||||||
|         run: | |         run: | | ||||||
|           sudo apt-get update |           sudo apt-get update | ||||||
|           curl "https://raw.githubusercontent.com/AnotherFoxGuy/ci-scripts/main/install-cmake.sh" | sudo bash |           curl "https://raw.githubusercontent.com/AnotherFoxGuy/ci-scripts/main/install-cmake.sh" | sudo bash | ||||||
|           curl "https://raw.githubusercontent.com/AnotherFoxGuy/ci-scripts/main/install-conan2.0.sh" | sudo bash |           curl "https://raw.githubusercontent.com/AnotherFoxGuy/ci-scripts/main/install-conan.sh" | sudo bash | ||||||
|           sudo apt-get -y install ninja-build  |           sudo apt-get -y install ninja-build  | ||||||
|  |  | ||||||
|       - name: Configure |       - name: Configure | ||||||
| @@ -82,7 +86,7 @@ jobs: | |||||||
|       - uses: actions/checkout@v4 |       - uses: actions/checkout@v4 | ||||||
|  |  | ||||||
|       - name: Cache conan |       - name: Cache conan | ||||||
|         uses: actions/cache@v4.0.0 |         uses: actions/cache@v4 | ||||||
|         with: |         with: | ||||||
|           key: conan-mac-${{ hashFiles('conanfile.txt') }} |           key: conan-mac-${{ hashFiles('conanfile.txt') }} | ||||||
|           path: ~/.conan2/ |           path: ~/.conan2/ | ||||||
|   | |||||||
							
								
								
									
										6
									
								
								.github/workflows/sonarcloud.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/sonarcloud.yml
									
									
									
									
										vendored
									
									
								
							| @@ -34,7 +34,7 @@ jobs: | |||||||
|           message("::set-output name=timestamp::${current_date}") |           message("::set-output name=timestamp::${current_date}") | ||||||
|  |  | ||||||
|       - name: cfamily cache files |       - name: cfamily cache files | ||||||
|         uses: actions/cache@v4.0.0 |         uses: actions/cache@v4 | ||||||
|         with: |         with: | ||||||
|           path: cfamily-cache |           path: cfamily-cache | ||||||
|           key: cfamily-cache-${{ steps.cfamily_cache_timestamp.outputs.timestamp }} |           key: cfamily-cache-${{ steps.cfamily_cache_timestamp.outputs.timestamp }} | ||||||
| @@ -42,7 +42,7 @@ jobs: | |||||||
|             cfamily-cache- |             cfamily-cache- | ||||||
|  |  | ||||||
|       - name: Cache conan |       - name: Cache conan | ||||||
|         uses: actions/cache@v4.0.0 |         uses: actions/cache@v4 | ||||||
|         with: |         with: | ||||||
|           key: conan-linux-${{ hashFiles('conanfile.txt') }} |           key: conan-linux-${{ hashFiles('conanfile.txt') }} | ||||||
|           path: ~/.conan2/ |           path: ~/.conan2/ | ||||||
| @@ -50,7 +50,7 @@ jobs: | |||||||
|       - name: Install dependencies |       - name: Install dependencies | ||||||
|         run: | |         run: | | ||||||
|           curl "https://raw.githubusercontent.com/AnotherFoxGuy/ci-scripts/main/install-cmake.sh" | sudo bash |           curl "https://raw.githubusercontent.com/AnotherFoxGuy/ci-scripts/main/install-cmake.sh" | sudo bash | ||||||
|           curl "https://raw.githubusercontent.com/AnotherFoxGuy/ci-scripts/main/install-conan2.0.sh" | sudo bash |           curl "https://raw.githubusercontent.com/AnotherFoxGuy/ci-scripts/main/install-conan.sh" | sudo bash | ||||||
|  |  | ||||||
|       - name: Configure |       - name: Configure | ||||||
|         run: | |         run: | | ||||||
|   | |||||||
| @@ -1,7 +1,7 @@ | |||||||
| #------------------------------------------------------- | #------------------------------------------------------- | ||||||
| # moFileReader Main Build Script | # moFileReader Main Build Script | ||||||
| #------------------------------------------------------- | #------------------------------------------------------- | ||||||
| cmake_minimum_required(VERSION 3.0) | cmake_minimum_required(VERSION 3.10) | ||||||
|  |  | ||||||
| list(APPEND CMAKE_MODULE_PATH "${CMAKE_BINARY_DIR}" "${CMAKE_SOURCE_DIR}/cmake") | list(APPEND CMAKE_MODULE_PATH "${CMAKE_BINARY_DIR}" "${CMAKE_SOURCE_DIR}/cmake") | ||||||
| include(CMakeCM) | include(CMakeCM) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user