Files
stergios/.gitea/workflows/publish.yaml
T
metallaxis a19e88e3a0
Stergios Upload Compile Checker / Publish (push) Failing after 4s
Updated the gitea action to actually work.
2026-07-09 03:06:18 +03:00

37 lines
1.4 KiB
YAML

name: Stergios Upload Compile Checker
run-name: ${{ gitea.actor }} has pushed an update to Stergios Problem Solver
on: [push] # This triggers the build every time you push code
jobs:
Publish:
runs-on: ubuntu-latest # Tells the Act Runner what environment to use
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Download and install dependencies
run: sudo apt-get update && sudo apt-get install -y build-essential time
- name: build
run: make
- name: Run for p = 1
run: echo -e "3\n./exponentials-values/exponential-1.txt\n\n3\n" | time ./bin/stergios
- name: Run for p = 2
run: echo -e "3\n./exponentials-values/exponential-2.txt\n\n3\n" | time ./bin/stergios
- name: Run for p = 3
run: echo -e "3\n./exponentials-values/exponential-3.txt\n\n3\n" | time ./bin/stergios
- name: Run for p = 4
run: echo -e "3\n./exponentials-values/exponential-4.txt\n\n3\n" | time ./bin/stergios
- name: Run for p = 5
run: echo -e "3\n./exponentials-values/exponential-5.txt\n\n3\n" | time ./bin/stergios
- name: Run for p = 10
run: echo Not completed yet #echo -e "3\n./exponentials-values/exponential-10.txt\n\n3\n" | time ./bin/stergios
- name: Run for p = 20
run: echo Not completed yet #echo -e "3\n./exponentials-values/exponential-20.txt\n\n3\n" | time ./bin/stergios