Skip to content

Commit

Permalink
Merge pull request #11 from eduardonunesp/update-actions
Browse files Browse the repository at this point in the history
Testing workflow
  • Loading branch information
eduardonunesp committed Nov 5, 2023
2 parents a9a8afa + 2238e32 commit 018f3d8
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 8 deletions.
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

0 comments on commit 018f3d8

Please sign in to comment.