diff --git a/.github/workflows/msvc-full-features.yml b/.github/workflows/msvc-full-features.yml deleted file mode 100644 index 5a02943f96fa..000000000000 --- a/.github/workflows/msvc-full-features.yml +++ /dev/null @@ -1,109 +0,0 @@ -name: Cataclysm Windows build (MSVC) - -on: - push: - branches: - - main - paths-ignore: - - 'android/**' - - 'build-data/osx/**' - - 'doc/**' - - 'doxygen_doc/**' - - 'gfx/**' - - 'lang/**' - - 'lgtm/**' - - 'tools/**' - - '!tools/format/**' - - 'utilities/**' - - 'scripts/**' - pull_request: - branches: - - main - paths-ignore: - - 'android/**' - - 'build-data/osx/**' - - 'doc/**' - - 'doxygen_doc/**' - - 'gfx/**' - - 'lang/**' - - 'lgtm/**' - - 'tools/**' - - '!tools/format/**' - - 'utilities/**' - - 'scripts/**' - -# We only care about the latest revision of a PR, so cancel previous instances. -concurrency: - group: msvc-build-${{ github.event.pull_request.number || github.ref_name }} - cancel-in-progress: true - -env: - # There's not enough disk space to build both release and debug versions of - # our dependencies, so we hack the triplet file to build only release versions - # Have to use github.workspace because runner namespace isn't available yet. - VCPKG_OVERLAY_TRIPLETS: ${{ github.workspace }}\.github\vcpkg_triplets - ZSTD_CLEVEL: 17 - -jobs: - build_catatclysm: - name: Build - runs-on: windows-2019 - if: github.event.pull_request.draft == false - - steps: - - name: checkout repository - uses: actions/checkout@v4 - with: - fetch-depth: 1 - - - name: Add msbuild to PATH - uses: microsoft/setup-msbuild@v1.3.1 - - - name: Install stable CMake - uses: lukka/get-cmake@latest - - - name: Install vcpkg - uses: lukka/run-vcpkg@v11 - id: runvcpkg - with: - vcpkgDirectory: '${{ runner.workspace }}/b/vcpkg' - vcpkgGitCommitId: "66444e13a86da7087ee24c342f91801cc6eb9877" - - - name: Integrate vcpkg - run: | - vcpkg integrate install - - - uses: ammaraskar/msvc-problem-matcher@master - - name: Build - run: | - cd msvc-full-features - msbuild -m -p:Configuration=Release -p:Platform=x64 "-target:Cataclysm-vcpkg-static;Cataclysm-test-vcpkg-static;JsonFormatter-vcpkg-static" Cataclysm-vcpkg-static.sln - - - name: Dump logs if build failed - if: failure() - run: | - echo ================================================= - Get-ChildItem "${{ runner.workspace }}/Cataclysm-BN/msvc-full-features/vcpkg_installed" -Recurse - echo ================================================= - Get-ChildItem "${{ runner.workspace }}/b/vcpkg/buildtrees" | - Foreach-Object { - Get-ChildItem $_.FullName -Filter *.log | - Foreach-Object { - echo ================================================= - echo $_.FullName - echo ================================================= - type $_.FullName - } - } - - - name: Compile .mo files for localization - run: | - & "C:\msys64\mingw64\bin\mingw32-make" localization - - - name: Run tests - run: | - .\Cataclysm-test-vcpkg-static-Release-x64.exe --rng-seed time - - - name: Clean - run: | - Get-ChildItem -Path Cataclysm-lib-vcpkg-static-Release-x64.* | Foreach-Object { rm $_.FullName } diff --git a/.github/workflows/msys2.yml b/.github/workflows/msys2.yml deleted file mode 100644 index 329d59665d34..000000000000 --- a/.github/workflows/msys2.yml +++ /dev/null @@ -1,63 +0,0 @@ -name: Windows build (MSYS2) - -on: - push: - branches: - - main - paths-ignore: - - 'android/**' - - 'build-data/osx/**' - - 'doc/**' - - 'doxygen_doc/**' - - 'gfx/**' - - 'lang/**' - - 'tools/**' - - '!tools/format/**' - - 'utilities/**' - - 'scripts/**' - -# We only care about the latest revision, so cancel previous instances. -concurrency: - group: msys2-build-${{ github.ref_name }} - cancel-in-progress: true - -jobs: - build_catatclysm: - name: Build - runs-on: windows-2019 - if: github.event.pull_request.draft == false - - defaults: - run: - shell: msys2 {0} - - steps: - - name: checkout repository - uses: actions/checkout@v4 - with: - fetch-depth: 1 - - - name: Setup MSYS2 - # Will by default install MINGW64 - uses: msys2/setup-msys2@v2 - with: - update: true - install: | - git - make - mingw-w64-x86_64-gcc - mingw-w64-x86_64-libmad - mingw-w64-x86_64-libwebp - mingw-w64-x86_64-pkg-config - mingw-w64-x86_64-SDL2 - mingw-w64-x86_64-SDL2_image - mingw-w64-x86_64-SDL2_mixer - mingw-w64-x86_64-SDL2_ttf - - - name: Build - run: | - make -j$((`nproc`+0)) RELEASE=1 DYNAMIC_LINKING=1 TILES=1 SOUND=1 LANGUAGES=all LINTJSON=0 ASTYLE=0 - - - name: Run tests - run: | - ./tests/cata_test.exe --rng-seed time