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

Testing workflow #11

Merged
merged 1 commit into from
Nov 5, 2023
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
7 changes: 0 additions & 7 deletions .circleci/config.yml

This file was deleted.

34 changes: 34 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Test

on:
push:
branches-ignore:
- master

env:
CARGO_TERM_COLOR: always

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Get Rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true

- name: Install alsa
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev

- name: Install udev
run: sudo apt-get update; sudo apt-get install --no-install-recommends libudev-dev

- name: Run cargo test w/ -D warnings
run: cargo test headless -- --test-threads=1
env:
RUSTFLAGS: "-D warnings"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Das Grid

[![<ORG_NAME>](https://circleci.com/gh/eduardonunesp/das-grid.svg?style=svg)](_)
[![Test](https://github.com/eduardonunesp/das-grid/actions/workflows/test.yml/badge.svg)](https://github.com/eduardonunesp/das-grid/actions/workflows/test.yml)

**Das Grid** is a 2D grid library which serves as fundamental building block for any 2D game built on the concept of grid

Expand Down
Loading