From ac53d8fd65f18ddb619373e57d7fad3846e47b88 Mon Sep 17 00:00:00 2001 From: Ty3r0X <35379582+Ty3r0X@users.noreply.github.com> Date: Fri, 24 Nov 2023 19:15:47 +0000 Subject: [PATCH 1/2] Edit CI/CD once again --- .github/workflows/c-cpp.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 7082374..6c01cdc 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -12,12 +12,8 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: libsdl-org/setup-sdl@main - id: sdl - with: - install-linux-dependencies: true - version: sdl2-latest + - name: install sdl2 + run: sudo apt update && sudo apt install libsdl2-dev - name: make run: make - name: Upload a Build Artifact From af69714a9556323943ac47bd18d9949974c936cc Mon Sep 17 00:00:00 2001 From: Ty3r0X <35379582+Ty3r0X@users.noreply.github.com> Date: Fri, 24 Nov 2023 19:20:16 +0000 Subject: [PATCH 2/2] CI/CD --- .github/workflows/c-cpp.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 6c01cdc..2e9add4 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -13,7 +13,9 @@ jobs: steps: - name: install sdl2 - run: sudo apt update && sudo apt install libsdl2-dev + run: sudo apt update && sudo apt install git libsdl2-dev + - name: snatch sauce code + run: git clone https://github.com/Ty3r0X/funni-square && cd funni-square - name: make run: make - name: Upload a Build Artifact