Skip to content

Commit 5eb01c9

Browse files
authored
Merge pull request #136 from ImogenBits/update_ci
Update ci
2 parents a1b1987 + 6900a06 commit 5eb01c9

2 files changed

Lines changed: 14 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
name: CI code checks
22

33
on:
4-
push:
5-
branches: [ main, develop, 4.0.0-rc ]
64
pull_request:
7-
branches: [ main, develop, 4.0.0-rc ]
5+
branches: [ main, develop ]
86

97
jobs:
108
lint:

docs/tutorial/programs.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,3 +297,16 @@ algobattle test
297297
```
298298

299299
This time it should run without any errors. If that doesn't work for you, there's error messages in the linked json file.
300+
301+
## Packaging the Programs
302+
303+
You may want to share your code with e.g. your lab instructors. The best way to do that is to package them into Algobattle
304+
program files. These are files using the `.prob` file extension that are formatted in such a way that Algobattle recognises
305+
them and can use them to run matches.
306+
307+
!!! tip "A peek behind the curtain"
308+
These files again are just `zip` files containing everything in your programs' folders in a specific format.
309+
It's best to remove any unnessesary files from them before packaging to keep file sizes down.
310+
311+
!!! note "Using the web framework"
312+
If your lab is using the web framework, these files are what you need to upload to have your programs run in the matches.

0 commit comments

Comments
 (0)