Skip to content

Commit

Permalink
little CI updates, added scheduled CI builds
Browse files Browse the repository at this point in the history
  • Loading branch information
nitrogenez committed Sep 3, 2023
1 parent 50975a2 commit c6ab64d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,20 @@ name: "Prism CI build"

on:
push:
branches: ["main"]
paths:
- "**.zig"
pull_request:
branches: ["main"]
paths:
- "**.zig"
schedule:
branches: ["main"]
- cron: "30 6 * * *"

jobs:
build:
name: "Build"
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
Expand All @@ -20,6 +26,7 @@ jobs:
- run: zig build

test:
name: "Test"
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
Expand All @@ -32,6 +39,7 @@ jobs:
- run: zig build test

lint:
name: "Lint"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit c6ab64d

Please sign in to comment.