Implement Client CI/CD
Enable debug export Push build dir instead of artifact Lots of debugging stuff Use debug export branch Client pipeline debugging... Client pipeline debugging... Client pipeline debugging... Client pipeline debugging... Client pipeline debugging... Client pipeline debugging... Client pipeline debugging... Client pipeline debugging... Client pipeline debugging... Client pipeline debugging... Client pipeline debugging... Cleanup and publish
This commit is contained in:
		
							
								
								
									
										28
									
								
								.github/workflows/build_stage.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										28
									
								
								.github/workflows/build_stage.yml
									
									
									
									
										vendored
									
									
								
							@ -6,6 +6,34 @@ on:
 | 
			
		||||
      - master
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  godot:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    strategy:
 | 
			
		||||
      matrix:
 | 
			
		||||
        platform: [linux]
 | 
			
		||||
    steps:
 | 
			
		||||
      - name: Checkout
 | 
			
		||||
        uses: actions/checkout@v2
 | 
			
		||||
      - name: Download Export Template
 | 
			
		||||
        env:
 | 
			
		||||
          PLATFORM: ${{ matrix.platform }}
 | 
			
		||||
        run: |
 | 
			
		||||
          mkdir -p client/templates
 | 
			
		||||
          wget http://godot-enet.cloudsumu.com.s3-website-us-east-1.amazonaws.com/export-templates/debug/$PLATFORM -O client/templates/$PLATFORM
 | 
			
		||||
      - name: Build
 | 
			
		||||
        id: build
 | 
			
		||||
        uses: josephbmanley/build-godot-action@v1.4.0
 | 
			
		||||
        with:
 | 
			
		||||
          name: defend-together
 | 
			
		||||
          preset: ${{ matrix.platform }}
 | 
			
		||||
          projectDir: client
 | 
			
		||||
          debugMode: 'true'
 | 
			
		||||
          package: 'true'
 | 
			
		||||
      - name: Upload Artifact
 | 
			
		||||
        uses: actions/upload-artifact@v2
 | 
			
		||||
        with:
 | 
			
		||||
          name: Client - ${{ matrix.platform }}
 | 
			
		||||
          path: ${{ github.workspace }}/${{ steps.build.outputs.build }}
 | 
			
		||||
  docker:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    steps:
 | 
			
		||||
 | 
			
		||||
@ -6,6 +6,37 @@ on:
 | 
			
		||||
      - created
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  godot:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    strategy:
 | 
			
		||||
      matrix:
 | 
			
		||||
        platform: [linux]
 | 
			
		||||
    steps:
 | 
			
		||||
      - name: Checkout
 | 
			
		||||
        uses: actions/checkout@v2
 | 
			
		||||
      - name: Download Export Template
 | 
			
		||||
        env:
 | 
			
		||||
          PLATFORM: ${{ matrix.platform }}
 | 
			
		||||
        run: |
 | 
			
		||||
          mkdir -p client/templates
 | 
			
		||||
          wget http://godot-enet.cloudsumu.com.s3-website-us-east-1.amazonaws.com/export-templates/debug/$PLATFORM -O client/templates/$PLATFORM
 | 
			
		||||
      - name: Build
 | 
			
		||||
        id: build
 | 
			
		||||
        uses: josephbmanley/build-godot-action@v1.4.0
 | 
			
		||||
        with:
 | 
			
		||||
          name: defend-together
 | 
			
		||||
          preset: ${{ matrix.platform }}
 | 
			
		||||
          projectDir: client
 | 
			
		||||
          debugMode: 'true'
 | 
			
		||||
          package: 'true'
 | 
			
		||||
      - name: Push to Itch
 | 
			
		||||
        uses: josephbmanley/butler-publish-itchio-action@v1.0.1
 | 
			
		||||
        env:
 | 
			
		||||
          BUTLER_CREDENTIALS: ${{ secrets.BUTLER_CREDENTIALS }}
 | 
			
		||||
          CHANNEL: ${{ matrix.platform }}
 | 
			
		||||
          ITCH_GAME: example-project
 | 
			
		||||
          ITCH_USER: username
 | 
			
		||||
          PACKAGE: ${{ github.workspace }}/${{ steps.build.outputs.build }}
 | 
			
		||||
  docker:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    steps:
 | 
			
		||||
							
								
								
									
										3
									
								
								client/.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								client/.gitignore
									
									
									
									
										vendored
									
									
								
							@ -1 +1,2 @@
 | 
			
		||||
builds
 | 
			
		||||
builds
 | 
			
		||||
templates
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
[preset.0]
 | 
			
		||||
 | 
			
		||||
name="Linux/X11"
 | 
			
		||||
name="linux"
 | 
			
		||||
platform="Linux/X11"
 | 
			
		||||
runnable=true
 | 
			
		||||
custom_features=""
 | 
			
		||||
@ -21,28 +21,5 @@ texture_format/etc2=false
 | 
			
		||||
texture_format/no_bptc_fallbacks=true
 | 
			
		||||
binary_format/64_bits=true
 | 
			
		||||
binary_format/embed_pck=false
 | 
			
		||||
custom_template/release="/var/home/vetra/Projects/godot-enet/bin/godot.x11.opt.64"
 | 
			
		||||
custom_template/debug="/var/home/vetra/Projects/godot-enet/bin/godot.x11.opt.debug.64"
 | 
			
		||||
 | 
			
		||||
[preset.1]
 | 
			
		||||
 | 
			
		||||
name="HTML5"
 | 
			
		||||
platform="HTML5"
 | 
			
		||||
runnable=true
 | 
			
		||||
custom_features=""
 | 
			
		||||
export_filter="all_resources"
 | 
			
		||||
include_filter=""
 | 
			
		||||
exclude_filter=""
 | 
			
		||||
export_path="builds/client.html"
 | 
			
		||||
patch_list=PoolStringArray(  )
 | 
			
		||||
script_export_mode=1
 | 
			
		||||
script_encryption_key=""
 | 
			
		||||
 | 
			
		||||
[preset.1.options]
 | 
			
		||||
 | 
			
		||||
vram_texture_compression/for_desktop=true
 | 
			
		||||
vram_texture_compression/for_mobile=false
 | 
			
		||||
html/custom_html_shell=""
 | 
			
		||||
html/head_include=""
 | 
			
		||||
custom_template/release=""
 | 
			
		||||
custom_template/debug=""
 | 
			
		||||
custom_template/release="templates/linux"
 | 
			
		||||
custom_template/debug="templates/linux"
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user