Skip to content

Commit

Permalink
Add CI job
Browse files Browse the repository at this point in the history
  • Loading branch information
TheQuantumPhysicist committed Oct 4, 2024
1 parent abd0cd6 commit 3fda0a9
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: build

on:
push:
branches:
- "**" # target all branches
pull_request:
branches:
- "**" # target all branches

env:
CARGO_TERM_COLOR: always

jobs:
build_ubuntu:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose

build_macos:
runs-on: macos-latest

steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose

runs-on: windows-latest

steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose

0 comments on commit 3fda0a9

Please sign in to comment.