Skip to content

Commit

Permalink
Create ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
spectria-limina authored Dec 3, 2024
1 parent e245336 commit f68bb6d
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Build & Test

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

env:
CARGO_TERM_COLOR: always

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Build wasm
run: cargo build --verbose --target wasm32-unknown-unknown
- name: Test
run: cargo test --verbose
- name: Test wasm
run: cargo test --verbose --target wasm32-unknown-unknown

0 comments on commit f68bb6d

Please sign in to comment.