ci: add docker to tools workflow, update ignore paths (#21368)

This commit is contained in:
Turiiya 2024-04-28 16:45:48 +02:00 committed by GitHub
parent 31171263df
commit c0afe5dff3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 141 additions and 78 deletions

View file

@ -9,6 +9,8 @@ on:
- 'doc/**'
- 'examples/**'
- 'tutorials/**'
- 'cmd/tools/**'
- '!cmd/tools/builders/**.v'
pull_request:
paths-ignore:
- '**.md'
@ -17,6 +19,8 @@ on:
- 'doc/**'
- 'examples/**'
- 'tutorials/**'
- 'cmd/tools/**'
- '!cmd/tools/builders/**.v'
concurrency:
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }}

View file

@ -3,14 +3,18 @@ name: Cross CI
on:
push:
paths-ignore:
- "**.md"
- '**.md'
- '**.yml'
- '!**/cross_ci.yml'
- 'cmd/tools/**'
- '!cmd/tools/builders/**.v'
pull_request:
paths-ignore:
- "**.md"
- '**.md'
- '**.yml'
- '!**/cross_ci.yml'
- 'cmd/tools/**'
- '!cmd/tools/builders/**.v'
concurrency:
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }}

View file

@ -3,14 +3,18 @@ name: Docker Alpine MUSL CI
on:
push:
paths-ignore:
- "**.md"
- "**.yml"
- '**.md'
- '**.yml'
- '!**/docker_alpine.yml'
- 'cmd/tools/**'
- '!cmd/tools/builders/**.v'
pull_request:
paths-ignore:
- "**.md"
- "**.yml"
- '**.md'
- '**.yml'
- '!**/docker_alpine.yml'
- 'cmd/tools/**'
- '!cmd/tools/builders/**.v'
concurrency:
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }}

View file

@ -3,14 +3,18 @@ name: Docker Ubuntu MUSL CI
on:
push:
paths-ignore:
- "**.md"
- "**.yml"
- "!**/docker_ubuntu.yml"
- '**.md'
- '**.yml'
- '!**/docker_ubuntu.yml'
- 'cmd/tools/**'
- '!cmd/tools/builders/**.v'
pull_request:
paths-ignore:
- "**.md"
- "**.yml"
- "!**/docker_ubuntu.yml"
- '**.md'
- '**.yml'
- '!**/docker_ubuntu.yml'
- 'cmd/tools/**'
- '!cmd/tools/builders/**.v'
concurrency:
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }}
@ -46,4 +50,4 @@ jobs:
run: ./v test-cleancode
- name: Test V fixed tests
run: ./v test-self
run: ./v test-self vlib

View file

@ -5,16 +5,20 @@ on:
paths-ignore:
- '**.vv'
- '**.out'
- '**.yml'
- '**.md'
- '**.yml'
- '!**/gen_vc_ci.yml'
- 'cmd/tools/**'
- '!cmd/tools/builders/**.v'
push:
paths-ignore:
- '**.vv'
- '**.out'
- '**.yml'
- '**.md'
- '**.yml'
- '!**/gen_vc_ci.yml'
- 'cmd/tools/**'
- '!cmd/tools/builders/**.v'
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.

View file

@ -2,15 +2,19 @@ name: Graphics CI
on:
push:
paths-ignore:
- "**.md"
- '**.yml'
- '!**/gg_regressions_ci.yml'
paths:
- 'vlib/**'
- 'thirdparty/**'
- 'cmd/tools/builders/**.v'
- '**/gg_regressions_ci.yml'
- '!**.md'
pull_request:
paths-ignore:
- "**.md"
- '**.yml'
- '!**/gg_regressions_ci.yml'
paths:
- 'vlib/**'
- 'thirdparty/**'
- 'cmd/tools/builders/**.v'
- '**/gg_regressions_ci.yml'
- '!**.md'
concurrency:
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }}

View file

@ -6,17 +6,16 @@ on:
- '**.md'
- '**.yml'
- '!**/linux_ci.yml'
- 'cmd/tools'
- 'cmd/tools/**'
- '!cmd/tools/builders/**.v'
pull_request:
paths-ignore:
- '**.md'
- '**.yml'
- '!**/linux_ci.yml'
- 'cmd/tools'
- 'cmd/tools/**'
- '!cmd/tools/builders/**.v'
concurrency:
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }}
cancel-in-progress: true

View file

@ -6,14 +6,14 @@ on:
- '**.md'
- '**.yml'
- '!**/macos_ci.yml'
- 'cmd/tools'
- 'cmd/tools/**'
- '!cmd/tools/builders/**.v'
pull_request:
paths-ignore:
- '**.md'
- '**.yml'
- '!**/macos_ci.yml'
- 'cmd/tools'
- 'cmd/tools/**'
- '!cmd/tools/builders/**.v'
concurrency:

View file

@ -2,19 +2,15 @@ name: vlib modules CI
on:
pull_request:
paths-ignore:
- '**.vv'
- '**.out'
- '**.yml'
- '**.md'
- '!**/module_docs_ci.yml'
paths:
- 'vlib/**.v'
- 'vlib/**.md'
- '**/module_docs_ci.yml'
push:
paths-ignore:
- '**.vv'
- '**.out'
- '**.yml'
- '**.md'
- '!**/module_docs_ci.yml'
paths:
- 'vlib/**.v'
- 'vlib/**.md'
- '**/module_docs_ci.yml'
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.

View file

@ -6,11 +6,15 @@ on:
- '**.md'
- '**.yml'
- '!**/other_ci.yml'
- 'cmd/tools/**'
- '!cmd/tools/builders/**.v'
pull_request:
paths-ignore:
- '**.md'
- '**.yml'
- '!**/other_ci.yml'
- 'cmd/tools/**'
- '!cmd/tools/builders/**.v'
concurrency:
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }}

View file

@ -3,15 +3,21 @@ name: sdl CI
on:
workflow_dispatch:
push:
paths-ignore:
- "**.md"
- "**.yml"
- '!**/sdl_ci.yml'
paths:
- 'vlib/**'
- 'thirdparty/**'
- 'cmd/tools/builders/**.v'
- 'cmd/tools/vshader.v'
- '**/sdl_ci.yml'
- '!**.md'
pull_request:
paths-ignore:
- "**.md"
- "**.yml"
- '!**/sdl_ci.yml'
paths:
- 'vlib/**'
- 'thirdparty/**'
- 'cmd/tools/builders/**.v'
- 'cmd/tools/vshader.v'
- '**/sdl_ci.yml'
- '!**.md'
concurrency:
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }}

View file

@ -2,15 +2,17 @@ name: Time CI
on:
push:
paths-ignore:
- '**.md'
- '**.yml'
- '!**/time_ci.yml'
paths:
- 'vlib/**'
- 'cmd/tools/builders/**.v'
- '**/time_ci.yml'
- '!**.md'
pull_request:
paths-ignore:
- '**.md'
- '**.yml'
- '!**/time_ci.yml'
paths:
- 'vlib/**'
- 'cmd/tools/builders/**.v'
- '**/time_ci.yml'
- '!**.md'
concurrency:
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }}

View file

@ -2,15 +2,15 @@ name: toml CI
on:
push:
paths-ignore:
- "**.md"
- '**.yml'
- '!**/toml_ci.yml'
paths:
- 'vlib/**'
- '**/toml_ci.yml'
- '!**.md'
pull_request:
paths-ignore:
- "**.md"
- '**.yml'
- '!**/toml_ci.yml'
paths:
- 'vlib/**'
- '**/toml_ci.yml'
- '!**.md'
concurrency:
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }}

View file

@ -92,3 +92,28 @@ jobs:
- name: Test (-cstrict)
if: ${{ matrix.cc == 'msvc' }}
run: ./v -W -cstrict test-self cmd
ubuntu-docker-musl:
runs-on: ubuntu-20.04
timeout-minutes: 121
container:
image: thevlang/vlang:ubuntu-build
env:
V_CI_MUSL: 1
V_CI_UBUNTU_MUSL: 1
VFLAGS: -cc musl-gcc -gc none
volumes:
- ${{github.workspace}}:/opt/vlang
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build V
run: make -j4 && ./v -cg -o v cmd/v
- name: Verify `v test` works
run: |
./v cmd/tools/test_if_v_test_system_works.v
./cmd/tools/test_if_v_test_system_works
- name: Test
run: ./v test-self cmd
- name: Test (-cstrict)
run: ./v -W -cstrict test-self cmd

View file

@ -3,15 +3,19 @@ name: vab CI
on:
workflow_call:
push:
paths-ignore:
- "**.md"
- '**.yml'
- '!**/vab_ci.yml'
paths:
- 'vlib/**'
- 'thirdparty/**'
- 'cmd/tools/builders/**.v'
- '**/vab_ci.yml'
- '!**.md'
pull_request:
paths-ignore:
- "**.md"
- '**.yml'
- '!**/vab_ci.yml'
paths:
- 'vlib/**'
- 'thirdparty/**'
- 'cmd/tools/builders/**.v'
- '**/vab_ci.yml'
- '!**.md'
concurrency:
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }}

View file

@ -3,14 +3,18 @@ name: Websockets CI
on:
push:
paths-ignore:
- "**.md"
- '**.md'
- '**.yml'
- '!**/websockets_ci.yml'
- 'cmd/tools/**'
- '!cmd/tools/builders/**.v'
pull_request:
paths-ignore:
- "**.md"
- '**.md'
- '**.yml'
- '!**/websockets_ci.yml'
- 'cmd/tools/**'
- '!cmd/tools/builders/**.v'
concurrency:
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }}
@ -95,4 +99,3 @@ jobs:
with:
name: client wss
path: ${{github.workspace}}/reports_wss/clients/index.html

View file

@ -6,14 +6,14 @@ on:
- '**.md'
- '**.yml'
- '!**/windows_ci.yml'
- 'cmd/tools'
- 'cmd/tools/**'
- '!cmd/tools/builders/**.v'
pull_request:
paths-ignore:
- '**.md'
- '**.yml'
- '!**/windows_ci.yml'
- 'cmd/tools'
- 'cmd/tools/**'
- '!cmd/tools/builders/**.v'
concurrency: