Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: use v symlink without -githubci for regular symlinking #21455

Merged
merged 2 commits into from
May 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/c2v_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Build V
run: make -j4 && ./v symlink -githubci
run: make -j4 && ./v symlink
- name: Install C2V
run: |
v retry -- v install --git https://github.com/vlang/c2v
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Build V
run: make -j4 && ./v symlink -githubci
run: make -j4 && ./v symlink
- name: Install C2V
run: |
v retry -- v install --git https://github.com/vlang/c2v
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cross_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
with:
fetch-depth: 10
- name: Build V
run: make -j4 && ./v symlink -githubci
run: make -j4 && ./v symlink

- name: Install dependencies
run: |
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
with:
fetch-depth: 10
- name: Build v
run: make -j4 && ./v symlink -githubci
run: make -j4 && ./v symlink

- name: Install dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gg_regressions_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
uses: actions/checkout@v4

- name: Build local v
run: make -j4 && ./v symlink -githubci
run: make -j4 && ./v symlink

- name: Setup dependencies
run: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/linux_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Build v
run: make -j4 && ./v symlink -githubci
run: make -j4 && ./v symlink
- name: Build v with -prealloc
run: |
v -d debug_malloc -d debug_realloc -o v cmd/v
Expand Down Expand Up @@ -115,7 +115,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Build V
run: make -j4 && ./v symlink -githubci
run: make -j4 && ./v symlink
- name: All code is formatted
run: v test-cleancode
- name: Install dependencies for examples and tools
Expand Down Expand Up @@ -223,7 +223,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Build V
run: make -j4 && ./v symlink -githubci
run: make -j4 && ./v symlink
- name: All code is formatted
run: v test-cleancode
- name: Install dependencies for examples and tools
Expand Down Expand Up @@ -326,7 +326,7 @@ jobs:
# V_CI_MUSL: 1
# steps:
# - name: Build v
# run: echo $VFLAGS && make -j4 && ./v symlink -githubci
# run: echo $VFLAGS && make -j4 && ./v symlink
# - uses: actions/checkout@v4
# - name: Install dependencies for examples and tools
# run: v retry -- sudo apt install --quiet -y musl musl-tools libssl-dev sqlite3 libsqlite3-dev valgrind
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Build V
run: make -j4 && ./v symlink -githubci
run: make -j4 && ./v symlink
- name: Build V with -cstrict
run: v -cg -cstrict -o v cmd/v
- name: All code is formatted
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/native_backend_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ jobs:
- uses: actions/checkout@v4
- name: Build V
if: runner.os != 'Windows'
run: make -j4 && ./v symlink -githubci
run: make -j4 && ./v symlink
- name: Build V (Windows)
if: runner.os == 'Windows'
run: ./make.bat && ./v symlink -githubci
run: ./make.bat && ./v symlink
- name: Install linker
if: runner.os == 'Linux'
run: v retry -- sudo apt -qq install binutils
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/other_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
- name: Environment info
run: echo $VFLAGS $GITHUB_SHA $GITHUB_REF
- name: Build local v
run: make -j4 && ./v symlink -githubci
run: make -j4 && ./v symlink
- name: v test-cleancode
run: ./v test-cleancode
- name: v test-fmt
Expand All @@ -70,7 +70,7 @@ jobs:
- name: Environment info
run: echo $VFLAGS $GITHUB_SHA $GITHUB_REF
- name: Build local v
run: make -j4 && ./v symlink -githubci
run: make -j4 && ./v symlink
- name: Clone & Build previous vmaster/v
run: |
./v retry -- git clone --depth=1 https://github.com/vlang/v vmaster/
Expand All @@ -94,7 +94,7 @@ jobs:
with:
fetch-depth: 10
- name: Build v
run: make -j4 && ./v symlink -githubci
run: make -j4 && ./v symlink

- name: Install dependencies
run: |
Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:
- uses: actions/checkout@v4
- name: Build local v
run: |
make -j4 && ./v symlink -githubci
make -j4 && ./v symlink
./v -g -d trace_parse_stmt cmd/tools/vtest-parser.v
- name: Install zzuf
run: ./v retry -- sudo apt install -qq zzuf
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/sanitized_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Build V
run: make -j4 && ./v symlink -githubci
run: make -j4 && ./v symlink
- name: Ensure code is well formatted
run: ./v test-cleancode
- name: Install dependencies
Expand All @@ -108,7 +108,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Build V
run: make -j4 && ./v symlink -githubci
run: make -j4 && ./v symlink
- name: Ensure code is well formatted
run: ./v test-cleancode
- name: Install dependencies
Expand All @@ -133,7 +133,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Build V
run: make -j4 && ./v symlink -githubci
run: make -j4 && ./v symlink
- name: Ensure code is well formatted
run: ./v test-cleancode
- name: Install dependencies
Expand Down Expand Up @@ -187,7 +187,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Build V
run: make -j4 && ./v symlink -githubci
run: make -j4 && ./v symlink
- name: Ensure code is well formatted
run: ./v test-cleancode
- name: Install dependencies
Expand Down Expand Up @@ -217,7 +217,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Build V
run: make -j4 && ./v symlink -githubci
run: make -j4 && ./v symlink
- name: Ensure code is well formatted
run: ./v test-cleancode
- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/toml_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Build V
run: make -j4 && ./v symlink -githubci
run: make -j4 && ./v symlink
- name: Install dependencies
run: |
v retry -- sudo apt update
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/vab_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

- uses: actions/checkout@v4
- name: Build V
run: make -j4 && ./v symlink -githubci
run: make -j4 && ./v symlink

- name: Install vab
run: |
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Build V
run: make -j4 && ./v symlink -githubci
run: make -j4 && ./v symlink

- name: Install vab
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/vinix_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Build V
run: make -j4 && ./v symlink -githubci
run: make -j4 && ./v symlink

- name: Install dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/vup_works.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Build v
run: make && ./v symlink -githubci && ./v version
run: make && ./v symlink && ./v version

- name: Download latest release ZIP
run: wget https://github.com/vlang/v/releases/latest/download/${{ matrix.zip }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/websockets_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: |
echo $VFLAGS
sudo ln -s $PWD/thirdparty/tcc/tcc.exe /usr/local/bin/tcc ## TODO: remove
make -j4 && ./v symlink -githubci
make -j4 && ./v symlink
./v -g -o v cmd/v
- name: Install dependencies
run: v retry -- sudo apt install --quiet -y libssl-dev
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/windows_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
run: |
gcc --version
.\make.bat -gcc
.\v.exe symlink -githubci
.\v.exe symlink
- name: All code is formatted
run: v test-cleancode
- name: Test new v.c
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
echo %VFLAGS%
echo $VFLAGS
.\make.bat -msvc
.\v.exe symlink -githubci
.\v.exe symlink
- name: Build V with WX
run: v -cflags /WX self
- name: All code is formatted
Expand Down Expand Up @@ -133,7 +133,7 @@ jobs:
- name: Build with make.bat -tcc
run: |
.\make.bat -tcc
.\v.exe symlink -githubci
.\v.exe symlink
- name: All code is formatted
run: v test-cleancode
- name: Test new v.c
Expand Down