From ff0af5ad75a719563afc1dc71558908a68ee3397 Mon Sep 17 00:00:00 2001 From: retoor Date: Sat, 30 Nov 2024 21:10:24 +0100 Subject: [PATCH] Automated building risspam. --- .gitea/workflows/build.yaml | 3 ++- Makefile | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index e6a2c85..2932c0f 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -7,7 +7,8 @@ jobs: runs-on: ubuntu-latest steps: - run: apt update - - run: apt install build-essential valgrind make -y + - run: apt install build-essential valgrind make curl -y + - run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --profile minimal --default-toolchain nightly -y - name: Check out repository code uses: actions/checkout@v4 - name: List files in the repository diff --git a/Makefile b/Makefile index 41bbd03..5c702c7 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ CC = gcc CFLAGS = -Wall -Werror -Wextra -Ofast -std=c2x -all: build run valgrind run_risspam +all: build run valgrind build_risspam run_risspam build: @# removed -pedantic flag because it doesn't accept ' for formatting numbers