Revision: 10685 https://osdn.net/projects/ttssh2/scm/svn/commits/10685 Author: zmatsuo Date: 2023-04-23 00:13:07 +0900 (Sun, 23 Apr 2023) Log Message: ----------- appveyor_*.yml ファイル名を整理 Modified Paths: -------------- trunk/ci_scripts/appveyor.md Added Paths: ----------- trunk/ci_scripts/appveyor_mix.yml trunk/ci_scripts/appveyor_ubuntu2004.yml trunk/ci_scripts/appveyor_vs2019_bat.yml trunk/ci_scripts/appveyor_vs2022_bat.yml Removed Paths: ------------- trunk/ci_scripts/appveyor.yml trunk/ci_scripts/appveyor_linux.yml trunk/ci_scripts/appveyor_release_bat.yml trunk/ci_scripts/appveyor_release_bat_vs2022.yml -------------- next part -------------- Modified: trunk/ci_scripts/appveyor.md =================================================================== --- trunk/ci_scripts/appveyor.md 2023-04-22 15:12:03 UTC (rev 10684) +++ trunk/ci_scripts/appveyor.md 2023-04-22 15:13:07 UTC (rev 10685) @@ -15,9 +15,15 @@ - Settings/General - Project name 設定する - Custom configuration .yml file name (重要) - - AppVeyorからアクセスできるところに appveyor.ymlを置く - - https://osdn.net/projects/ttssh2/scm/svn/blobs/head/trunk/ci_scripts/appveyor.yml?export=raw + - AppVeyorからアクセスできるところに appveyor_*.ymlを置く + - https://osdn.net/projects/ttssh2/scm/svn/blobs/head/trunk/ci_scripts/appveyor_vs2022.yml?export=raw など + +appveyor_vs*_bat.yml +==================== + +Windows image の Visual Studio を使用したビルド + ## build - Current build を選ぶ @@ -29,6 +35,19 @@ - teraterm - Artifacts にsnapshot.zip ができている +appveyor_ubuntu2004.yml +======================= + +Linux image(Ubuntu2004) の MinGW を利用したビルド + + +appveyor_mix.yml +================ + +いくつかのイメージを使って Visual Studio, Mingw を使って一気にビルド + +最近使用していない + ## build_local_appveyor_* - ローカルで build_appveyor.bat をテストするための bat ファイル Deleted: trunk/ci_scripts/appveyor.yml =================================================================== --- trunk/ci_scripts/appveyor.yml 2023-04-22 15:12:03 UTC (rev 10684) +++ trunk/ci_scripts/appveyor.yml 2023-04-22 15:13:07 UTC (rev 10685) @@ -1,118 +0,0 @@ -version: 0.1.{build} - -environment: - matrix: - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022 - COMPILER: VS_143 - COMPILER_FRIENDLY: vs2022 - GENERATOR: "Visual Studio 17 2022" - CMAKE_COMMAND: cmake - CMAKE_OPTION_LIBS: -DARCHITECTURE=Win32 - CMAKE_OPTION_GENERATE: "-A Win32" - CMAKE_OPTION_BUILD: --config Release - BUILD_DIR: build - APPVEYOR_SAVE_CACHE_ON_ERROR: true - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 - COMPILER: VS_142 - COMPILER_FRIENDLY: vs2019 - GENERATOR: "Visual Studio 16 2019" - CMAKE_COMMAND: cmake - CMAKE_OPTION_LIBS: -DARCHITECTURE=Win32 - CMAKE_OPTION_GENERATE: "-A Win32" - CMAKE_OPTION_BUILD: --config Release - BUILD_DIR: build - APPVEYOR_SAVE_CACHE_ON_ERROR: true - #APPVEYOR_CACHE_SKIP_RESTORE: true - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 - COMPILER: VS_142_x64 - COMPILER_FRIENDLY: vs2019_x64 - GENERATOR: "Visual Studio 16 2019" - CMAKE_COMMAND: cmake - CMAKE_OPTION_LIBS: -DARCHITECTURE=x64 - CMAKE_OPTION_GENERATE: "-A x64" - CMAKE_OPTION_BUILD: --config Release - BUILD_DIR: build - APPVEYOR_SAVE_CACHE_ON_ERROR: true - #APPVEYOR_CACHE_SKIP_RESTORE: true - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013 - COMPILER: VS_90 - COMPILER_FRIENDLY: vs2008 - GENERATOR: "Visual Studio 9 2008" - CMAKE_COMMAND: cmake - CMAKE_OPTION_LIBS: -DARCHITECTURE=Win32 - CMAKE_OPTION_GENERATE: "-A Win32" - CMAKE_OPTION_BUILD: --config Release - BUILD_DIR: build - APPVEYOR_SAVE_CACHE_ON_ERROR: true - #APPVEYOR_CACHE_SKIP_RESTORE: true - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 - COMPILER: mingw - COMPILER_FRIENDLY: mingw_gcc_win32 - GENERATOR: "Unix Makefiles" - CMAKE_COMMAND: cmake - CMAKE_OPTION_LIBS: - CMAKE_OPTION_GENERATE: -DCMAKE_BUILD_TYPE=Release - CMAKE_OPTION_BUILD: - BUILD_DIR: build - MINGW_CC: gcc - MINGW_CXX: g++ - APPVEYOR_SAVE_CACHE_ON_ERROR: true - #APPVEYOR_CACHE_SKIP_RESTORE: true - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 - COMPILER: mingw_x64 - COMPILER_FRIENDLY: mingw_gcc_x64 - GENERATOR: "Unix Makefiles" - CMAKE_COMMAND: cmake - CMAKE_OPTION_LIBS: - CMAKE_OPTION_GENERATE: -DCMAKE_BUILD_TYPE=Release - CMAKE_OPTION_BUILD: - BUILD_DIR: build - MINGW_CC: gcc - MINGW_CXX: g++ - APPVEYOR_SAVE_CACHE_ON_ERROR: true - #APPVEYOR_CACHE_SKIP_RESTORE: true - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 - COMPILER: mingw - COMPILER_FRIENDLY: mingw_clang_win32 - GENERATOR: "Unix Makefiles" - CMAKE_COMMAND: cmake - CMAKE_OPTION_LIBS: - CMAKE_OPTION_GENERATE: -DCMAKE_BUILD_TYPE=Release - CMAKE_OPTION_BUILD: - BUILD_DIR: build - MINGW_CC: clang - MINGW_CXX: clang++ - APPVEYOR_SAVE_CACHE_ON_ERROR: true - #APPVEYOR_CACHE_SKIP_RESTORE: true - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 - COMPILER: mingw_x64 - COMPILER_FRIENDLY: mingw_clang_x64 - GENERATOR: "Unix Makefiles" - CMAKE_COMMAND: cmake - CMAKE_OPTION_LIBS: - CMAKE_OPTION_GENERATE: -DCMAKE_BUILD_TYPE=Release - CMAKE_OPTION_BUILD: - BUILD_DIR: build - MINGW_CC: clang - MINGW_CXX: clang++ - APPVEYOR_SAVE_CACHE_ON_ERROR: true - #APPVEYOR_CACHE_SKIP_RESTORE: true - -build: off - -build_script: - - call ci_scripts\build_appveyor.bat - -cache: - - libs - - buildtools - -artifacts: - - path: build\%ZIP_FILE% - - path: build\%SETUP_FILE%.exe - - path: build\buildinfo.txt - -on_success: - - ci_scripts\notify.bat success -on_failure: - - ci_scripts\notify.bat failure Deleted: trunk/ci_scripts/appveyor_linux.yml =================================================================== --- trunk/ci_scripts/appveyor_linux.yml 2023-04-22 15:12:03 UTC (rev 10684) +++ trunk/ci_scripts/appveyor_linux.yml 2023-04-22 15:13:07 UTC (rev 10685) @@ -1,15 +0,0 @@ -image: Ubuntu2004 - -build: off - -init: - - sudo apt-get -y install cmake perl subversion g++-mingw-w64 fp-utils - -cache: - - libs - -build_script: - - cmake -P ci_scripts/build_local_appveyor_mingw.cmake - -artifacts: - - path: build*/*.zip Copied: trunk/ci_scripts/appveyor_mix.yml (from rev 10684, trunk/ci_scripts/appveyor.yml) =================================================================== --- trunk/ci_scripts/appveyor_mix.yml (rev 0) +++ trunk/ci_scripts/appveyor_mix.yml 2023-04-22 15:13:07 UTC (rev 10685) @@ -0,0 +1,118 @@ +version: 0.1.{build} + +environment: + matrix: + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022 + COMPILER: VS_143 + COMPILER_FRIENDLY: vs2022 + GENERATOR: "Visual Studio 17 2022" + CMAKE_COMMAND: cmake + CMAKE_OPTION_LIBS: -DARCHITECTURE=Win32 + CMAKE_OPTION_GENERATE: "-A Win32" + CMAKE_OPTION_BUILD: --config Release + BUILD_DIR: build + APPVEYOR_SAVE_CACHE_ON_ERROR: true + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 + COMPILER: VS_142 + COMPILER_FRIENDLY: vs2019 + GENERATOR: "Visual Studio 16 2019" + CMAKE_COMMAND: cmake + CMAKE_OPTION_LIBS: -DARCHITECTURE=Win32 + CMAKE_OPTION_GENERATE: "-A Win32" + CMAKE_OPTION_BUILD: --config Release + BUILD_DIR: build + APPVEYOR_SAVE_CACHE_ON_ERROR: true + #APPVEYOR_CACHE_SKIP_RESTORE: true + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 + COMPILER: VS_142_x64 + COMPILER_FRIENDLY: vs2019_x64 + GENERATOR: "Visual Studio 16 2019" + CMAKE_COMMAND: cmake + CMAKE_OPTION_LIBS: -DARCHITECTURE=x64 + CMAKE_OPTION_GENERATE: "-A x64" + CMAKE_OPTION_BUILD: --config Release + BUILD_DIR: build + APPVEYOR_SAVE_CACHE_ON_ERROR: true + #APPVEYOR_CACHE_SKIP_RESTORE: true + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013 + COMPILER: VS_90 + COMPILER_FRIENDLY: vs2008 + GENERATOR: "Visual Studio 9 2008" + CMAKE_COMMAND: cmake + CMAKE_OPTION_LIBS: -DARCHITECTURE=Win32 + CMAKE_OPTION_GENERATE: "-A Win32" + CMAKE_OPTION_BUILD: --config Release + BUILD_DIR: build + APPVEYOR_SAVE_CACHE_ON_ERROR: true + #APPVEYOR_CACHE_SKIP_RESTORE: true + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 + COMPILER: mingw + COMPILER_FRIENDLY: mingw_gcc_win32 + GENERATOR: "Unix Makefiles" + CMAKE_COMMAND: cmake + CMAKE_OPTION_LIBS: + CMAKE_OPTION_GENERATE: -DCMAKE_BUILD_TYPE=Release + CMAKE_OPTION_BUILD: + BUILD_DIR: build + MINGW_CC: gcc + MINGW_CXX: g++ + APPVEYOR_SAVE_CACHE_ON_ERROR: true + #APPVEYOR_CACHE_SKIP_RESTORE: true + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 + COMPILER: mingw_x64 + COMPILER_FRIENDLY: mingw_gcc_x64 + GENERATOR: "Unix Makefiles" + CMAKE_COMMAND: cmake + CMAKE_OPTION_LIBS: + CMAKE_OPTION_GENERATE: -DCMAKE_BUILD_TYPE=Release + CMAKE_OPTION_BUILD: + BUILD_DIR: build + MINGW_CC: gcc + MINGW_CXX: g++ + APPVEYOR_SAVE_CACHE_ON_ERROR: true + #APPVEYOR_CACHE_SKIP_RESTORE: true + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 + COMPILER: mingw + COMPILER_FRIENDLY: mingw_clang_win32 + GENERATOR: "Unix Makefiles" + CMAKE_COMMAND: cmake + CMAKE_OPTION_LIBS: + CMAKE_OPTION_GENERATE: -DCMAKE_BUILD_TYPE=Release + CMAKE_OPTION_BUILD: + BUILD_DIR: build + MINGW_CC: clang + MINGW_CXX: clang++ + APPVEYOR_SAVE_CACHE_ON_ERROR: true + #APPVEYOR_CACHE_SKIP_RESTORE: true + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 + COMPILER: mingw_x64 + COMPILER_FRIENDLY: mingw_clang_x64 + GENERATOR: "Unix Makefiles" + CMAKE_COMMAND: cmake + CMAKE_OPTION_LIBS: + CMAKE_OPTION_GENERATE: -DCMAKE_BUILD_TYPE=Release + CMAKE_OPTION_BUILD: + BUILD_DIR: build + MINGW_CC: clang + MINGW_CXX: clang++ + APPVEYOR_SAVE_CACHE_ON_ERROR: true + #APPVEYOR_CACHE_SKIP_RESTORE: true + +build: off + +build_script: + - call ci_scripts\build_appveyor.bat + +cache: + - libs + - buildtools + +artifacts: + - path: build\%ZIP_FILE% + - path: build\%SETUP_FILE%.exe + - path: build\buildinfo.txt + +on_success: + - ci_scripts\notify.bat success +on_failure: + - ci_scripts\notify.bat failure Deleted: trunk/ci_scripts/appveyor_release_bat.yml =================================================================== --- trunk/ci_scripts/appveyor_release_bat.yml 2023-04-22 15:12:03 UTC (rev 10684) +++ trunk/ci_scripts/appveyor_release_bat.yml 2023-04-22 15:13:07 UTC (rev 10685) @@ -1,26 +0,0 @@ -image: Visual Studio 2019 - -environment: - APPVEYOR_SAVE_CACHE_ON_ERROR: true - VS_VERSION: 2019 - -build: off - -init: - - c:\cygwin64\setup-x86_64.exe --quiet-mode --packages cmake --packages cygwin32-gcc-g++ --packages cygwin32-gcc-core - -cache: - - libs - -build_script: - - ci_scripts/build_appveyor_release_bat.bat - - ci_scripts/build_appveyor_release_bat_pre_cache.bat - -artifacts: - - path: installer/Output/*.exe - - path: installer/Output/*.zip - -on_success: - - ci_scripts\notify.bat success -on_failure: - - ci_scripts\notify.bat failure Deleted: trunk/ci_scripts/appveyor_release_bat_vs2022.yml =================================================================== --- trunk/ci_scripts/appveyor_release_bat_vs2022.yml 2023-04-22 15:12:03 UTC (rev 10684) +++ trunk/ci_scripts/appveyor_release_bat_vs2022.yml 2023-04-22 15:13:07 UTC (rev 10685) @@ -1,26 +0,0 @@ -image: Visual Studio 2022 - -environment: - APPVEYOR_SAVE_CACHE_ON_ERROR: true - VS_VERSION: 2022 - -build: off - -init: - - c:\cygwin64\setup-x86_64.exe --quiet-mode --packages cmake --packages cygwin32-gcc-g++ --packages cygwin32-gcc-core - -cache: - - libs - -build_script: - - ci_scripts/build_appveyor_release_bat.bat - - ci_scripts/build_appveyor_release_bat_pre_cache.bat - -artifacts: - - path: installer/Output/*.exe - - path: installer/Output/*.zip - -on_success: - - ci_scripts\notify.bat success -on_failure: - - ci_scripts\notify.bat failure Copied: trunk/ci_scripts/appveyor_ubuntu2004.yml (from rev 10684, trunk/ci_scripts/appveyor_linux.yml) =================================================================== --- trunk/ci_scripts/appveyor_ubuntu2004.yml (rev 0) +++ trunk/ci_scripts/appveyor_ubuntu2004.yml 2023-04-22 15:13:07 UTC (rev 10685) @@ -0,0 +1,15 @@ +image: Ubuntu2004 + +build: off + +init: + - sudo apt-get -y install cmake perl subversion g++-mingw-w64 fp-utils + +cache: + - libs + +build_script: + - cmake -P ci_scripts/build_local_appveyor_mingw.cmake + +artifacts: + - path: build*/*.zip Copied: trunk/ci_scripts/appveyor_vs2019_bat.yml (from rev 10684, trunk/ci_scripts/appveyor_release_bat.yml) =================================================================== --- trunk/ci_scripts/appveyor_vs2019_bat.yml (rev 0) +++ trunk/ci_scripts/appveyor_vs2019_bat.yml 2023-04-22 15:13:07 UTC (rev 10685) @@ -0,0 +1,26 @@ +image: Visual Studio 2019 + +environment: + APPVEYOR_SAVE_CACHE_ON_ERROR: true + VS_VERSION: 2019 + +build: off + +init: + - c:\cygwin64\setup-x86_64.exe --quiet-mode --packages cmake --packages cygwin32-gcc-g++ --packages cygwin32-gcc-core + +cache: + - libs + +build_script: + - ci_scripts/build_appveyor_release_bat.bat + - ci_scripts/build_appveyor_release_bat_pre_cache.bat + +artifacts: + - path: installer/Output/*.exe + - path: installer/Output/*.zip + +on_success: + - ci_scripts\notify.bat success +on_failure: + - ci_scripts\notify.bat failure Copied: trunk/ci_scripts/appveyor_vs2022_bat.yml (from rev 10684, trunk/ci_scripts/appveyor_release_bat_vs2022.yml) =================================================================== --- trunk/ci_scripts/appveyor_vs2022_bat.yml (rev 0) +++ trunk/ci_scripts/appveyor_vs2022_bat.yml 2023-04-22 15:13:07 UTC (rev 10685) @@ -0,0 +1,26 @@ +image: Visual Studio 2022 + +environment: + APPVEYOR_SAVE_CACHE_ON_ERROR: true + VS_VERSION: 2022 + +build: off + +init: + - c:\cygwin64\setup-x86_64.exe --quiet-mode --packages cmake --packages cygwin32-gcc-g++ --packages cygwin32-gcc-core + +cache: + - libs + +build_script: + - ci_scripts/build_appveyor_release_bat.bat + - ci_scripts/build_appveyor_release_bat_pre_cache.bat + +artifacts: + - path: installer/Output/*.exe + - path: installer/Output/*.zip + +on_success: + - ci_scripts\notify.bat success +on_failure: + - ci_scripts\notify.bat failure