Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub CI #59

Merged
merged 2 commits into from
Nov 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/rust-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: rust-build

on:
push:
branches:
- '*'
pull_request:
branches:
- master

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
submodules: true

- name: Install Rust
uses: hecrj/setup-rust-action@v2
with:
rust-version: '1.68.0'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is now quite old. Just making sure it is intentional?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes! The idea is that technically upping the required rust version is a breaking change although we don't have any public MSRV. I chose 1.68 as it is the first one with sparse registry which is faster for CI.


- name: Rustfmt
run: cargo fmt --verbose --all --check

- name: Clippy
run: cargo clippy --verbose --tests --examples

- name: Tests
run: cargo test --verbose
42 changes: 0 additions & 42 deletions .travis.yml

This file was deleted.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ include = [
edition = "2021"

[badges]
travis-ci = { repository = "gwihlidal/meshopt-rs" }
maintenance = { status = "actively-developed" }

[dependencies]
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
meshopt
========

[![meshopt on travis-ci.com](https://travis-ci.com/gwihlidal/meshopt-rs.svg?branch=master)](https://travis-ci.com/gwihlidal/meshopt-rs)
[![Latest version](https://img.shields.io/crates/v/meshopt.svg)](https://crates.io/crates/meshopt)
[![Documentation](https://docs.rs/meshopt/badge.svg)](https://docs.rs/meshopt)
[![](https://tokei.rs/b1/github/gwihlidal/meshopt-rs)](https://github.com/gwihlidal/meshopt-rs)
Expand Down