Skip to content

Commit

Permalink
Add initial GitHub Actions CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hansemro committed Aug 22, 2023
1 parent 8138609 commit 1c9e16d
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 1,46 @@
name: ci

on:
workflow_dispatch:
push:
pull_request:

env:
CARGO_TERM_COLOR: always

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Clippy
run: cargo clippy --all -- -D warnings

build_linux:
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-latest]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose

build_windows:

runs-on: windows-latest

steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose

build_macos:

runs-on: macos-latest

steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose

0 comments on commit 1c9e16d

Please sign in to comment.