From 62a656b4d0eac0b81bab136b1d6a628d2bdc9ef0 Mon Sep 17 00:00:00 2001 From: lmp Date: Fri, 1 Sep 2023 16:11:35 +0200 Subject: [PATCH] ci: more fixes --- .github/workflows/ci.yml | 6 +++--- .github/workflows/ci_visual_tests.yml | 16 ++++++++-------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 66e68df..212c880 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -158,7 +158,7 @@ jobs: repository: vlang/v - name: Build local v - run: make -j4 && sudo ./v symlink + run: make && sudo ./v symlink - name: Install sdl module run: v install sdl @@ -222,7 +222,7 @@ jobs: repository: vlang/v - name: Build local v - run: make -j4 && sudo ./v symlink + run: make && sudo ./v symlink - name: Install sdl module run: v install sdl @@ -261,7 +261,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - sdl-version: [2.0.9, 2.0.10, 2.0.12, 2.0.14, 2.0.16, 2.0.18, 2.0.20, 2.0.22, 2.24.0] + sdl-version: [2.0.9, 2.0.10, 2.0.12, 2.0.14, 2.0.16, 2.0.18, 2.0.20, 2.0.22, 2.24.0, 2.26.0, 2.28.0] timeout-minutes: 20 env: VFLAGS: -cc tcc -no-retry-compilation diff --git a/.github/workflows/ci_visual_tests.yml b/.github/workflows/ci_visual_tests.yml index d1739e3..8bb29e9 100644 --- a/.github/workflows/ci_visual_tests.yml +++ b/.github/workflows/ci_visual_tests.yml @@ -23,6 +23,14 @@ jobs: LIBGL_ALWAYS_SOFTWARE: true SDL2_VERSION: 2.28.2 steps: + - name: Checkout V + uses: actions/checkout@v2 + with: + repository: vlang/v + + - name: Build local v + run: make && sudo ./v symlink + - name: Install dependencies run: | curl -L https://www.libsdl.org/release/SDL2-${SDL2_VERSION}.tar.gz -o SDL2.tar.gz @@ -52,14 +60,6 @@ jobs: make sudo make install - - name: Checkout V - uses: actions/checkout@v2 - with: - repository: vlang/v - - - name: Build local v - run: make && sudo ./v symlink - - name: Install sdl module run: | git clone https://github.com/vlang/sdl.git ~/.vmodules/sdl