From 751bc0b1d6ebe3ac4e1cd1091ceb8b4f2e827f9e Mon Sep 17 00:00:00 2001 From: Zang3th Date: Wed, 3 Jul 2024 15:31:56 +0200 Subject: [PATCH] Github actions stuff --- .github/workflows/analyze.yml | 4 ++-- .github/workflows/build.yml | 4 ++-- README.md | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/analyze.yml b/.github/workflows/analyze.yml index 3caebdb..2c02e6d 100644 --- a/.github/workflows/analyze.yml +++ b/.github/workflows/analyze.yml @@ -16,8 +16,8 @@ jobs: sudo wget -O /etc/apt/sources.list.d/viva64.list \ https://files.pvs-studio.com/etc/viva64.list sudo apt-get update && sudo apt-get upgrade - sudo apt-get install libglu1-mesa-dev mesa-common-dev - sudo apt-get install pvs-studio + sudo apt-get install -y libglu1-mesa-dev mesa-common-dev + sudo apt-get install -y pvs-studio pvs-studio-analyzer credentials ${{secrets.PVS_STUDIO_CREDENTIALS}} - name: Build debug config diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 897fc7d..da0233b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,10 +13,10 @@ jobs: run: sudo apt-get update && sudo apt-get upgrade - name: Install OpenGL - run: sudo apt-get install libglu1-mesa-dev mesa-common-dev + run: sudo apt-get install -y libglu1-mesa-dev mesa-common-dev - name: Install X virtual framebuffer - run: sudo apt-get install xvfb + run: sudo apt-get install -y xvfb - name: Build debug config run: | diff --git a/README.md b/README.md index 764a8f2..9da4971 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # SalinityGL [![Build](https://github.com/Zanget3u/GameEngine/actions/workflows/build.yml/badge.svg)](https://github.com/Zanget3u/GameEngine/actions/workflows/build.yml) -[![Static analysis](https://github.com/Zang3th/GameEngine/actions/workflows/static_analysis.yml/badge.svg)](https://github.com/Zang3th/GameEngine/actions/workflows/static_analysis.yml) +[![Static Analysis](https://github.com/Zang3th/SalinityGL/actions/workflows/analyze.yml/badge.svg)](https://github.com/Zang3th/SalinityGL/actions/workflows/analyze.yml) ![OS](https://img.shields.io/badge/OS-Linux-blue) ![Release](https://img.shields.io/badge/Release-v0.1.1-blue)