From bb8bea4562ddcd60216d4880de4d8070214e364c Mon Sep 17 00:00:00 2001 From: Joseph Manley Date: Mon, 4 May 2020 00:47:36 -0400 Subject: [PATCH] Add windows export --- .github/workflows/build_stage.yml | 2 +- .github/workflows/release.yml | 4 +- client/export_presets.cfg | 86 ++++++++++++++++++++++++++++++- 3 files changed, 88 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_stage.yml b/.github/workflows/build_stage.yml index 983096c..4ec41f4 100644 --- a/.github/workflows/build_stage.yml +++ b/.github/workflows/build_stage.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - platform: [linux] + platform: [linux, win32, win64] steps: - name: Checkout uses: actions/checkout@v2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 77c496d..f9c8a9b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - platform: [linux] + platform: [linux, win32, win64] steps: - name: Checkout uses: actions/checkout@v2 @@ -19,7 +19,7 @@ jobs: 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 + wget http://godot-enet.cloudsumu.com.s3-website-us-east-1.amazonaws.com/export-templates/release/$PLATFORM -O client/templates/$PLATFORM - name: Build id: build uses: josephbmanley/build-godot-action@v1.4.0 diff --git a/client/export_presets.cfg b/client/export_presets.cfg index 806d03d..79a5186 100644 --- a/client/export_presets.cfg +++ b/client/export_presets.cfg @@ -20,6 +20,90 @@ texture_format/etc=false texture_format/etc2=false texture_format/no_bptc_fallbacks=true binary_format/64_bits=true -binary_format/embed_pck=false +binary_format/embed_pck=true custom_template/release="templates/linux" custom_template/debug="templates/linux" + +[preset.1] + +name="win32" +platform="Windows Desktop" +runnable=true +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="" +export_path="" +patch_list=PoolStringArray( ) +script_export_mode=1 +script_encryption_key="" + +[preset.1.options] + +texture_format/bptc=false +texture_format/s3tc=true +texture_format/etc=false +texture_format/etc2=false +texture_format/no_bptc_fallbacks=true +binary_format/64_bits=false +binary_format/embed_pck=true +custom_template/release="templates/win32" +custom_template/debug="templates/win32" +codesign/enable=false +codesign/identity="" +codesign/password="" +codesign/timestamp=true +codesign/timestamp_server_url="" +codesign/digest_algorithm=1 +codesign/description="" +codesign/custom_options=PoolStringArray( ) +application/icon="" +application/file_version="" +application/product_version="" +application/company_name="" +application/product_name="" +application/file_description="" +application/copyright="" +application/trademarks="" + +[preset.2] + +name="win64" +platform="Windows Desktop" +runnable=false +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="" +export_path="" +patch_list=PoolStringArray( ) +script_export_mode=1 +script_encryption_key="" + +[preset.2.options] + +texture_format/bptc=false +texture_format/s3tc=true +texture_format/etc=false +texture_format/etc2=false +texture_format/no_bptc_fallbacks=true +binary_format/64_bits=true +binary_format/embed_pck=true +custom_template/release="templates/win64" +custom_template/debug="templates/win64" +codesign/enable=false +codesign/identity="" +codesign/password="" +codesign/timestamp=true +codesign/timestamp_server_url="" +codesign/digest_algorithm=1 +codesign/description="" +codesign/custom_options=PoolStringArray( ) +application/icon="" +application/file_version="" +application/product_version="" +application/company_name="" +application/product_name="" +application/file_description="" +application/copyright="" +application/trademarks=""