-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (32 loc) · 817 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
---
name: CI
on: [ workflow_dispatch, push, pull_request ]
jobs:
omnilint:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: docker://lpenz/omnilint:0.5.1
rust:
uses: lpenz/ghworkflow-rust/.github/workflows/[email protected]
with:
coveralls: true
publish_cratesio: false
publish_github_release: false
solve:
strategy:
matrix:
day:
- day01
- day02
part: [ a, b ]
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: solve ${{ matrix.day }}${{ matrix.part }}
run: |
cargo run \
--release \
-p ${{ matrix.day }} \
--bin ${{ matrix.day }}${{ matrix.part }} \
< ${{ matrix.day }}/input.txt