Skip to content

Commit

Permalink
ci(github): add Mac and Windows
Browse files Browse the repository at this point in the history
Remove `ci.sh`.

Upgrade the `checkout` action.
  • Loading branch information
dbohdan committed May 22, 2024
1 parent e922cd0 commit 66a8585
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 10 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/ci.sh

This file was deleted.

24 changes: 19 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,24 @@
name: CI
on: [push]
on: [push, pull_request]

env:
S2PNG_COMMAND: target/debug/s2png

jobs:
test:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- macos-latest
- ubuntu-latest
- windows-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Run CI script
run: .github/workflows/ci.sh
uses: actions/checkout@v4
- name: Run tests
run: |
cargo build
cargo test
cargo test -- --ignored

0 comments on commit 66a8585

Please sign in to comment.