mirror of
				https://github.com/hedge-dev/UnleashedRecomp.git
				synced 2025-10-30 07:11:05 +00:00 
			
		
		
		
	removing the workflows
This commit is contained in:
		
							parent
							
								
									9a181e0839
								
							
						
					
					
						commit
						90b35bc593
					
				
					 3 changed files with 0 additions and 138 deletions
				
			
		
							
								
								
									
										40
									
								
								.github/workflows/apply-patch.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										40
									
								
								.github/workflows/apply-patch.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -1,40 +0,0 @@ | |||
| name: Apply Patch | ||||
| 
 | ||||
| on: [push] | ||||
| 
 | ||||
| jobs: | ||||
|   apply_patch: | ||||
|     runs-on: ubuntu-latest | ||||
| 
 | ||||
|     steps: | ||||
|     - name: Checkout repository | ||||
|       uses: actions/checkout@v2 | ||||
| 
 | ||||
|     - name: Apply patch | ||||
|       run: | | ||||
|         git apply <<EOF | ||||
|         diff --git a/UnleashedRecomp/hid/driver/sdl_hid.cpp b/UnleashedRecomp/hid/driver/sdl_hid.cpp | ||||
|         index 4705ffddc2c485a738b6a1049da707d49a1d39f1..574afdf53d5534fdfaf95def252d7667bd08d76a | ||||
|         --- a/UnleashedRecomp/hid/driver/sdl_hid.cpp | ||||
|         +++ b/UnleashedRecomp/hid/driver/sdl_hid.cpp | ||||
|         @@ -310,6 +310,7 @@ void hid::Init() | ||||
|         SDL_SetHint(SDL_HINT_JOYSTICK_HIDAPI_PS5_RUMBLE, "1"); | ||||
|         SDL_SetHint(SDL_HINT_JOYSTICK_HIDAPI_WII, "1"); | ||||
|         SDL_SetHint(SDL_HINT_XINPUT_ENABLED, "1"); | ||||
|         +    SDL_SetHint(SDL_HINT_GAMECONTROLLER_USE_BUTTON_LABELS, "0"); | ||||
|          | ||||
|         SDL_InitSubSystem(SDL_INIT_EVENTS); | ||||
|         SDL_AddEventWatch(HID_OnSDLEvent, nullptr); | ||||
|         EOF | ||||
| 
 | ||||
|     - name: Commit changes | ||||
|       run: | | ||||
|         git config --global user.name 'github-actions[bot]' | ||||
|         git config --global user.email 'github-actions[bot]@users.noreply.github.com' | ||||
|         git add . | ||||
|         git commit -m 'Apply patch from commit 574afdf' | ||||
| 
 | ||||
|     - name: Push changes | ||||
|       uses: ad-m/github-push-action@v0.6.0 | ||||
|       with: | ||||
|         github_token: ${{ secrets.GITHUB_TOKEN }} | ||||
							
								
								
									
										23
									
								
								.github/workflows/c-cpp.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										23
									
								
								.github/workflows/c-cpp.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -1,23 +0,0 @@ | |||
| name: C/C++ CI | ||||
| 
 | ||||
| on: | ||||
|   push: | ||||
|     branches: [ "main" ] | ||||
|   pull_request: | ||||
|     branches: [ "main" ] | ||||
| 
 | ||||
| jobs: | ||||
|   build: | ||||
| 
 | ||||
|     runs-on: ubuntu-latest | ||||
| 
 | ||||
|     steps: | ||||
|     - uses: actions/checkout@v4 | ||||
|     - name: configure | ||||
|       run: ./configure | ||||
|     - name: make | ||||
|       run: make | ||||
|     - name: make check | ||||
|       run: make check | ||||
|     - name: make distcheck | ||||
|       run: make distcheck | ||||
							
								
								
									
										75
									
								
								.github/workflows/cmake-multi-platform.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										75
									
								
								.github/workflows/cmake-multi-platform.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -1,75 +0,0 @@ | |||
| # This starter workflow is for a CMake project running on multiple platforms. There is a different starter workflow if you just want a single platform. | ||||
| # See: https://github.com/actions/starter-workflows/blob/main/ci/cmake-single-platform.yml | ||||
| name: CMake on multiple platforms | ||||
| 
 | ||||
| on: | ||||
|   push: | ||||
|     branches: [ "main" ] | ||||
|   pull_request: | ||||
|     branches: [ "main" ] | ||||
| 
 | ||||
| jobs: | ||||
|   build: | ||||
|     runs-on: ${{ matrix.os }} | ||||
| 
 | ||||
|     strategy: | ||||
|       # Set fail-fast to false to ensure that feedback is delivered for all matrix combinations. Consider changing this to true when your workflow is stable. | ||||
|       fail-fast: false | ||||
| 
 | ||||
|       # Set up a matrix to run the following 3 configurations: | ||||
|       # 1. <Windows, Release, latest MSVC compiler toolchain on the default runner image, default generator> | ||||
|       # 2. <Linux, Release, latest GCC compiler toolchain on the default runner image, default generator> | ||||
|       # 3. <Linux, Release, latest Clang compiler toolchain on the default runner image, default generator> | ||||
|       # | ||||
|       # To add more build types (Release, Debug, RelWithDebInfo, etc.) customize the build_type list. | ||||
|       matrix: | ||||
|         os: [ubuntu-latest, windows-latest] | ||||
|         build_type: [Release] | ||||
|         c_compiler: [gcc, clang, cl] | ||||
|         include: | ||||
|           - os: windows-latest | ||||
|             c_compiler: cl | ||||
|             cpp_compiler: cl | ||||
|           - os: ubuntu-latest | ||||
|             c_compiler: gcc | ||||
|             cpp_compiler: g++ | ||||
|           - os: ubuntu-latest | ||||
|             c_compiler: clang | ||||
|             cpp_compiler: clang++ | ||||
|         exclude: | ||||
|           - os: windows-latest | ||||
|             c_compiler: gcc | ||||
|           - os: windows-latest | ||||
|             c_compiler: clang | ||||
|           - os: ubuntu-latest | ||||
|             c_compiler: cl | ||||
| 
 | ||||
|     steps: | ||||
|     - uses: actions/checkout@v4 | ||||
| 
 | ||||
|     - name: Set reusable strings | ||||
|       # Turn repeated input strings (such as the build output directory) into step outputs. These step outputs can be used throughout the workflow file. | ||||
|       id: strings | ||||
|       shell: bash | ||||
|       run: | | ||||
|         echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT" | ||||
| 
 | ||||
|     - 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 ${{ steps.strings.outputs.build-output-dir }} | ||||
|         -DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }} | ||||
|         -DCMAKE_C_COMPILER=${{ matrix.c_compiler }} | ||||
|         -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} | ||||
|         -S ${{ github.workspace }} | ||||
| 
 | ||||
|     - name: Build | ||||
|       # Build your program with the given configuration. Note that --config is needed because the default Windows generator is a multi-config generator (Visual Studio generator). | ||||
|       run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }} | ||||
| 
 | ||||
|     - name: Test | ||||
|       working-directory: ${{ steps.strings.outputs.build-output-dir }} | ||||
|       # Execute tests defined by the CMake configuration. Note that --build-config is needed because the default Windows generator is a multi-config generator (Visual Studio generator). | ||||
|       # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail | ||||
|       run: ctest --build-config ${{ matrix.build_type }} | ||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Al. Lopez
						Al. Lopez