From de7729961ebe14ab6204d029a2e5b4564da85f93 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= <joamag@gmail.com>
Date: Mon, 22 Jul 2024 19:17:42 +0100
Subject: [PATCH] fix: structure of SDL

---
 .github/workflows/extra.yml | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/extra.yml b/.github/workflows/extra.yml
index dc7b89a7..35f19232 100644
--- a/.github/workflows/extra.yml
+++ b/.github/workflows/extra.yml
@@ -16,18 +16,21 @@ jobs:
           rustup install 1.74.0
           rustup override set 1.74.0
           rustup default stable-msvc
+      - name: Setup SDL
+        run: |
+          cd frontends/sdl
+          cargo install cargo-vcpkg && cargo vcpkg -v build
       - name: Test Base
         run: cargo test
+      - name: Build Base
+        run: cargo build --release
       - name: Test SDL
         run: |
           cd frontends/sdl
           cargo test
-      - name: Build Base
-        run: cargo build --release
       - name: Build SDL
         run: |
           cd frontends/sdl
-          cargo install cargo-vcpkg && cargo vcpkg -v build
           cargo build --release
       - name: Build Libretro
         run: |
@@ -44,19 +47,23 @@ jobs:
         run: |
           rustup install 1.74.0
           rustup override set 1.74.0
+      - name: Setup SDL
+        run: |
+          cd frontends/sdl
+          cargo install cargo-vcpkg && cargo vcpkg -v build
       - name: Test Base
         run: cargo test
+      - name: Build Base
+        run: cargo build --release
       - name: Test SDL
         run: |
           cd frontends/sdl
           cargo test
-      - name: Build Base
-        run: cargo build --release
       - name: Build SDL
         run: |
           cd frontends/sdl
           cargo install cargo-vcpkg && cargo vcpkg -v build
-          cargo build --releases
+          cargo build --release
       - name: Build Libretro
         run: |
           cd frontends/libretro
-- 
GitLab