From d65ed816893ae78076a0b69d1de7eb9eed6450e2 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Sat, 16 Nov 2024 13:39:16 +0200 Subject: [PATCH] ci: simplify build V tasks in .yml files --- .github/workflows/ci.yml | 12 ++++++------ .github/workflows/ci_docs.yml | 4 ++-- .github/workflows/ci_visual_tests.yml | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fc57dc7..ed8e3e5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: repository: vlang/v - name: Build local v - run: make -j4 && sudo ./v symlink + run: make && ./v symlink - name: Checkout shy uses: actions/checkout@v4 @@ -86,7 +86,7 @@ jobs: repository: vlang/v - name: Build local v - run: make -j4 && sudo ./v symlink + run: make && ./v symlink - name: Install vlang/sdl @ ${{ env.SDL2_VERSION }} uses: actions/checkout@v4 @@ -162,7 +162,7 @@ jobs: repository: vlang/v - name: Build local v - run: make && sudo ./v symlink + run: make && ./v symlink - name: Install vlang/sdl @ ${{ env.SDL2_VERSION }} uses: actions/checkout@v4 @@ -232,7 +232,7 @@ jobs: repository: vlang/v - name: Build local v - run: make && sudo ./v symlink + run: make && ./v symlink - name: Install vlang/sdl @ ${{ env.SDL2_VERSION }} uses: actions/checkout@v4 @@ -304,7 +304,7 @@ jobs: repository: vlang/v - name: Build local v - run: make && sudo ./v symlink + run: make && ./v symlink - name: Checkout SDL ${{ matrix.sdl-version }} uses: actions/checkout@v4 @@ -376,7 +376,7 @@ jobs: repository: vlang/v - name: Build local v - run: make && sudo ./v symlink + run: make && ./v symlink - name: Checkout SDL ${{ matrix.sdl-version }} uses: actions/checkout@v4 diff --git a/.github/workflows/ci_docs.yml b/.github/workflows/ci_docs.yml index 89eedcf..1fe2999 100644 --- a/.github/workflows/ci_docs.yml +++ b/.github/workflows/ci_docs.yml @@ -17,7 +17,7 @@ jobs: repository: vlang/v - name: Build local v - run: make -j4 && sudo ./v symlink + run: make && ./v symlink - name: Checkout shy uses: actions/checkout@v4 @@ -45,7 +45,7 @@ jobs: repository: vlang/v - name: Build local v - run: make -j4 && sudo ./v symlink + run: make && ./v symlink - name: Checkout shy uses: actions/checkout@v4 diff --git a/.github/workflows/ci_visual_tests.yml b/.github/workflows/ci_visual_tests.yml index 8a724ed..9289aa4 100644 --- a/.github/workflows/ci_visual_tests.yml +++ b/.github/workflows/ci_visual_tests.yml @@ -32,7 +32,7 @@ jobs: repository: vlang/v - name: Build local v - run: make && sudo ./v symlink + run: make && ./v symlink - name: Install dependencies run: |