Skip to content

Commit ae4f0bf

Browse files
authored
Merge pull request #14 from leifgehrmann/day14
Day 14 - Regolith Reservoir 🪨
2 parents 96c6fbf + adb1e68 commit ae4f0bf

File tree

5 files changed

+354
-0
lines changed

5 files changed

+354
-0
lines changed

.github/workflows/Day-14.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Day-14
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
paths:
7+
- '**14*'
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v2
15+
- name: Build
16+
run: cargo build --release --verbose
17+
- name: Run
18+
run: time target/release/aoc 14

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ This is primarily a learning experience, and the code may not be following best
2121
| 11 | Monkey in the Middle | [src/day_11.rs](src/day_11.rs) | [src/day_11.data](src/day_11.data) | `0m0.030s` | [![Day-11](https://github.com/leifgehrmann/advent-of-code-2022/actions/workflows/Day-11.yml/badge.svg?branch=main)](https://github.com/leifgehrmann/advent-of-code-2022/actions/workflows/Day-11.yml?query=branch%3Amain)
2222
| 12 | Hill Climbing Algorithm | [src/day_12.rs](src/day_12.rs) | [src/day_12.data](src/day_12.data) | `0m0.053s` | [![Day-12](https://github.com/leifgehrmann/advent-of-code-2022/actions/workflows/Day-12.yml/badge.svg?branch=main)](https://github.com/leifgehrmann/advent-of-code-2022/actions/workflows/Day-12.yml?query=branch%3Amain)
2323
| 13 | Distress Signal | [src/day_13.rs](src/day_13.rs) | [src/day_13.data](src/day_13.data) | `0m0.053s` | [![Day-13](https://github.com/leifgehrmann/advent-of-code-2022/actions/workflows/Day-13.yml/badge.svg?branch=main)](https://github.com/leifgehrmann/advent-of-code-2022/actions/workflows/Day-13.yml?query=branch%3Amain)
24+
| 14 | Regolith Reservoir | [src/day_14.rs](src/day_14.rs) | [src/day_14.data](src/day_14.data) | `0m0.002s` | [![Day-14](https://github.com/leifgehrmann/advent-of-code-2022/actions/workflows/Day-14.yml/badge.svg?branch=main)](https://github.com/leifgehrmann/advent-of-code-2022/actions/workflows/Day-14.yml?query=branch%3Amain)
2425

2526
_The measured execution time in GitHub Actions_
2627

0 commit comments

Comments
 (0)