diff --git a/.github/workflows/vim_unused/README.md b/.github/workflows/vim_unused/README.md new file mode 100644 index 0000000000..fdb9c5ed97 --- /dev/null +++ b/.github/workflows/vim_unused/README.md @@ -0,0 +1,4 @@ +This contains Vim's CI YAML files that are not used in MacVim. These files are +moved to an unused spot rather than deleted so that: 1) they can be used as +reference, and 2) if upstream has made changes to them, a Git merge will +resolve cleanly as rename detection will resolve this. diff --git a/.github/workflows/ci-cygwin.yml b/.github/workflows/vim_unused/ci-cygwin.yml similarity index 100% rename from .github/workflows/ci-cygwin.yml rename to .github/workflows/vim_unused/ci-cygwin.yml diff --git a/.github/workflows/ci-linux.yml b/.github/workflows/vim_unused/ci-linux.yml similarity index 100% rename from .github/workflows/ci-linux.yml rename to .github/workflows/vim_unused/ci-linux.yml diff --git a/.github/workflows/ci-linux_asan.yml b/.github/workflows/vim_unused/ci-linux_asan.yml similarity index 100% rename from .github/workflows/ci-linux_asan.yml rename to .github/workflows/vim_unused/ci-linux_asan.yml diff --git a/.github/workflows/ci-macos.yml b/.github/workflows/vim_unused/ci-macos.yml similarity index 100% rename from .github/workflows/ci-macos.yml rename to .github/workflows/vim_unused/ci-macos.yml diff --git a/.github/workflows/ci-windows.yml b/.github/workflows/vim_unused/ci-windows.yml similarity index 100% rename from .github/workflows/ci-windows.yml rename to .github/workflows/vim_unused/ci-windows.yml diff --git a/.github/workflows/vim_unused/ci.yml b/.github/workflows/vim_unused/ci.yml new file mode 100644 index 0000000000..c725027b88 --- /dev/null +++ b/.github/workflows/vim_unused/ci.yml @@ -0,0 +1,38 @@ +name: GitHub CI + +on: + push: + branches: ["**"] + pull_request: + +# Cancels all previous workflow runs for pull requests that have not completed. +concurrency: + # The concurrency group contains the workflow name and the branch name for + # pull requests or the commit hash for any other events. + group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }} + cancel-in-progress: true + +permissions: + contents: read # to fetch code (actions/checkout) + +jobs: + + linux: + name: Linux + uses: ./.github/workflows/ci-linux.yml + secrets: inherit + + linux-asan: + name: Linux ASan + uses: ./.github/workflows/ci-linux_asan.yml + secrets: inherit + + macos: + name: macOS + uses: ./.github/workflows/ci-macos.yml + secrets: inherit + + windows: + name: Windows + uses: ./.github/workflows/ci-windows.yml + secrets: inherit diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/vim_unused/codeql-analysis.yml similarity index 100% rename from .github/workflows/codeql-analysis.yml rename to .github/workflows/vim_unused/codeql-analysis.yml diff --git a/.github/workflows/coverity.yml b/.github/workflows/vim_unused/coverity.yml similarity index 100% rename from .github/workflows/coverity.yml rename to .github/workflows/vim_unused/coverity.yml