Skip to content

Commit

Permalink
Redo CI
Browse files Browse the repository at this point in the history
  • Loading branch information
connorslade committed Nov 26, 2023
1 parent af68540 commit 49c7427
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 11 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/aoc_2021.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: aoc_2021
on:
push:
paths:
- "aoc_2021/**"

env:
CRATE: aoc_2021

jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build -p ${{ env.CRATE }}}
- name: Test
run: cargo test -p ${{ env.CRATE }}}
23 changes: 23 additions & 0 deletions .github/workflows/aoc_2022.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: aoc_2022
on:
push:
paths:
- "aoc_2022/**"

env:
CRATE: aoc_2022

jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build -p ${{ env.CRATE }}}
- name: Test
run: cargo test -p ${{ env.CRATE }}}
24 changes: 24 additions & 0 deletions .github/workflows/bin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: bin
on:
push:
paths:
- "src/**"
- "Cargo.toml"

env:
CRATE: advent_of_code

jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build -p ${{ env.CRATE }}}
- name: Test
run: cargo test -p ${{ env.CRATE }}}
11 changes: 0 additions & 11 deletions .github/workflows/rust.yml

This file was deleted.

0 comments on commit 49c7427

Please sign in to comment.