Skip to content

Commit

Permalink
Migrate to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e authored and Detegr committed Mar 10, 2024
1 parent 4d590bc commit bd8310e
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 67 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: CI

on:
push:
branches: [master]
pull_request:
branches: [master]

jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
rust: [stable, beta, nightly]
include:
- os: windows-latest
rust: stable-x86_64-pc-windows-gnu
- os: windows-latest
rust: nightly-x86_64-pc-windows-gnu
- os: windows-latest
rust: stable-i686-pc-windows-msvc
- os: windows-latest
rust: nightly-i686-pc-windows-msvc
- os: windows-latest
rust: stable-i686-pc-windows-gnu
- os: windows-latest
rust: nightly-i686-pc-windows-gnu
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ matrix.rust }}
- run: cargo build
- run: cargo build --features termination
- run: cargo test
- run: cargo test --features termination

fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: cargo fmt --check
19 changes: 0 additions & 19 deletions .travis.yml

This file was deleted.

48 changes: 0 additions & 48 deletions appveyor.yml

This file was deleted.

0 comments on commit bd8310e

Please sign in to comment.