diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000000..049afa54b1 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,29 @@ +name: "Build" +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + build: + name: Build + runs-on: windows-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + submodules: true + fetch-depth: 2 + - name: Add msbuild to PATH + uses: microsoft/setup-msbuild@v1.3.1 + env: + ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true' + - name: msbuild + run: | + msbuild src\CE.sln -m /p:platform="x64" /p:configuration="Release" + - name: test + run: .\Release\Tests_Release_x64.exe + diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index a11f01ee98..3fd54f20c8 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -48,7 +48,7 @@ jobs: with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. - # By default, queries listed here will override any specified in a config file. + # By default, queries listed here will override any specified in a config file. # Prefix the list here with "+" to use these queries and those in the config file. # queries: ./path/to/local/query, your-org/your-repo/queries@main diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index 92ba1434ea..0000000000 --- a/appveyor.yml +++ /dev/null @@ -1,25 +0,0 @@ -version: 1.0.{build} -image: Visual Studio 2019 -configuration: -- Release -platform: -- x64 -- Win32 -clone_depth: 1 -before_build: -- cmd: >- - git submodule update --init --recursive - - mkdir Debug\plugins\ConEmu\Background - - mkdir Debug\plugins\ConEmu\Lines - - mkdir Debug\plugins\ConEmu\Thumbs -build: - project: src\CE.sln - parallel: true - verbosity: minimal -test_script: -- cmd: >- - call "%Configuration%\Tests_%Configuration%_%Platform%.exe" -deploy: off \ No newline at end of file diff --git a/azure-pipelines.yml b/azure-pipelines.yml deleted file mode 100644 index 3b24cdee78..0000000000 --- a/azure-pipelines.yml +++ /dev/null @@ -1,60 +0,0 @@ -# .NET Desktop -# Build and run tests for .NET Desktop or Windows classic desktop solutions. -# Add steps that publish symbols, save build artifacts, and more: -# https://docs.microsoft.com/azure/devops/pipelines/apps/windows/dot-net - -trigger: - branches: - include: - - master - - daily - -pool: - vmImage: 'windows-2019' - -variables: - solution: 'src/CE.sln' - -jobs: - -- job: 'x64_Release' - displayName: 'x64|Release' - timeoutInMinutes: 15 - variables: - platform: 'x64' - configuration: 'Release' - steps: - - checkout: self - submodules: true - - task: VSBuild@1 - displayName: 'Build $(platform)|$(configuration)' - inputs: - solution: '$(solution)' - platform: '$(platform)' - configuration: '$(configuration)' - - script: | - cd - call "$(configuration)\Tests_$(configuration)_$(platform).exe" --gtest_color=yes - displayName: 'Tests $(platform)|$(configuration)' - failOnStderr: false - -- job: 'Win32_Release' - displayName: 'Win32|Release' - timeoutInMinutes: 15 - variables: - platform: 'Win32' - configuration: 'Release' - steps: - - checkout: self - submodules: true - - task: VSBuild@1 - displayName: 'Build $(platform)|$(configuration)' - inputs: - solution: '$(solution)' - platform: '$(platform)' - configuration: '$(configuration)' - - script: | - cd - call "$(configuration)\Tests_$(configuration)_$(platform).exe" --gtest_color=yes - displayName: 'Tests $(platform)|$(configuration)' - failOnStderr: false