mirror of
https://github.com/vlang/v.git
synced 2025-09-13 09:25:45 -04:00
ci: cleanup, run npx prettier --write .github/workflows/macos_ci.yml
This commit is contained in:
parent
c0f5bfadb7
commit
a40e751ba3
1
.github/workflows/macos_ci.yml
vendored
1
.github/workflows/macos_ci.yml
vendored
@ -74,4 +74,3 @@ jobs:
|
|||||||
run: v run ci/macos_ci.vsh test_readline
|
run: v run ci/macos_ci.vsh test_readline
|
||||||
- name: Test vlib modules with -skip-unused
|
- name: Test vlib modules with -skip-unused
|
||||||
run: v run ci/macos_ci.vsh test_vlib_skip_unused
|
run: v run ci/macos_ci.vsh test_vlib_skip_unused
|
||||||
|
|
||||||
|
@ -1,77 +0,0 @@
|
|||||||
name: CI macOS
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
paths-ignore:
|
|
||||||
- '**.md'
|
|
||||||
- '**.yml'
|
|
||||||
- '!**/macos_ci.yml'
|
|
||||||
- 'cmd/tools/**'
|
|
||||||
- '!cmd/tools/builders/**.v'
|
|
||||||
pull_request:
|
|
||||||
paths-ignore:
|
|
||||||
- '**.md'
|
|
||||||
- '**.yml'
|
|
||||||
- '!**/macos_ci.yml'
|
|
||||||
- 'cmd/tools/**'
|
|
||||||
- '!cmd/tools/builders/**.v'
|
|
||||||
|
|
||||||
concurrency:
|
|
||||||
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }}
|
|
||||||
cancel-in-progress: true
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
clang:
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
os: [macos-14]
|
|
||||||
fail-fast: false
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
timeout-minutes: 121
|
|
||||||
env:
|
|
||||||
VFLAGS: -cc clang
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: Build V
|
|
||||||
run: make -j4 && ./v symlink
|
|
||||||
- name: Test symlink
|
|
||||||
run: v run macos_ci.vsh test_symlink
|
|
||||||
- name: Test cross compilation to Linux
|
|
||||||
run: v run macos_ci.vsh test_cross_compilation
|
|
||||||
- name: Build V with -cstrict
|
|
||||||
run: v run macos_ci.vsh build_with_cstrict
|
|
||||||
- name: All code is formatted
|
|
||||||
run: v run macos_ci.vsh all_code_is_formatted
|
|
||||||
- name: Run sanitizers
|
|
||||||
run: v run macos_ci.vsh run_sanitizers
|
|
||||||
- name: Build V using V
|
|
||||||
run: v run macos_ci.vsh build_using_v
|
|
||||||
- name: Verify `v test` works
|
|
||||||
run: v run macos_ci.vsh verify_v_test_works
|
|
||||||
- name: Install iconv for encoding.iconv
|
|
||||||
run: v run macos_ci.vsh install_iconv
|
|
||||||
- name: Test pure V math module
|
|
||||||
run: v run macos_ci.vsh test_pure_v_math_module
|
|
||||||
- name: Self tests
|
|
||||||
run: v run macos_ci.vsh self_tests
|
|
||||||
- name: Build examples
|
|
||||||
run: v run macos_ci.vsh build_examples
|
|
||||||
- name: Build tetris with -autofree
|
|
||||||
run: v run macos_ci.vsh build_tetris_autofree
|
|
||||||
- name: Build blog tutorial with -autofree
|
|
||||||
run: v run macos_ci.vsh build_blog_autofree
|
|
||||||
- name: Build examples with -prod
|
|
||||||
run: v run macos_ci.vsh build_examples_prod
|
|
||||||
- name: v doctor
|
|
||||||
run: v run macos_ci.vsh v_doctor
|
|
||||||
- name: V self compilation with -usecache
|
|
||||||
run: v run macos_ci.vsh v_self_compilation_usecache
|
|
||||||
- name: V self compilation with -parallel-cc
|
|
||||||
run: v run macos_ci.vsh v_self_compilation_parallel_cc
|
|
||||||
- name: Test password input
|
|
||||||
run: v run macos_ci.vsh test_password_input
|
|
||||||
- name: Test readline
|
|
||||||
run: v run macos_ci.vsh test_readline
|
|
||||||
- name: Test vlib modules with -skip-unused
|
|
||||||
run: v run macos_ci.vsh test_vlib_skip_unused
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user