Added forgejo action
Some checks are pending
/ build (push) Waiting to run

This commit is contained in:
A.M. Rowsell 2025-07-21 17:24:57 -04:00
commit 5a4147b750
Signed by: amr
GPG key ID: E0879EDBDB0CA7B1
6 changed files with 32 additions and 0 deletions

View file

@ -1,2 +1,6 @@
main.o: main.cpp Spigot.hpp
Spigot.o: Spigot.cpp Spigot.hpp
-Wall
-MM
main.cpp
Spigot.cpp

View file

@ -0,0 +1,9 @@
on: [push]
jobs:
build:
runs-on: poseidon-runner
steps:
- name: checkout
uses: actions/checkout@v4
- run: make
- run: time ./main

1
.gitignore vendored
View file

@ -2,6 +2,7 @@ cfg/
*.txt
main
.gdb_history
*.zip
# Created by https://www.toptal.com/developers/gitignore/api/c++
# Edit at https://www.toptal.com/developers/gitignore?templates=c++

View file

@ -1,3 +1,9 @@
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
#include <iostream>
#include <cmath>
#include <cassert>

View file

@ -1,3 +1,9 @@
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
#ifndef Spigot_h
#define Spigot_h

View file

@ -1,3 +1,9 @@
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
#include <iostream>
#include <cstdlib>
#include "Spigot.hpp"