Skip to content

Commit

Permalink
Init sandbox repo
Browse files Browse the repository at this point in the history
  • Loading branch information
hakolao committed Jan 14, 2022
0 parents commit dcb2ab2
Show file tree
Hide file tree
Showing 107 changed files with 16,970 additions and 0 deletions.
65 changes: 65 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: CI

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

env:
CARGO_TERM_COLOR: always

jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true

- run: rustup component add rustfmt
- name: check rustfmt
run: cargo fmt -- --check --color always

- run: rustup component add clippy
- run: cargo fetch
- name: cargo clippy
run: cargo clippy --all-targets -- -D warnings

windows_stable:
runs-on: windows-latest
steps:
- name: Ninja Install
uses: crazy-max/ghaction-chocolatey@v1.3.1
with:
args: install ninja
- name: Python3 Install
uses: crazy-max/ghaction-chocolatey@v1.3.1
with:
args: install python3 --params "/InstallAllUsers"
- uses: actions/checkout@v2
- name: Build
run: cargo build --verbose --release
- name: Run tests
run: cargo test --verbose --release

linux_stable:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build --verbose --release
- name: Run tests
run: cargo test --verbose --release

macos_stable:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build --verbose --release
- name: Run tests
run: cargo test --verbose --release
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
.metadata
RemoteSystemsTempFiles

/target
*.log
.idea/workspace.xml
/assets/maps/*
/assets/matter_definitions.json
build
osxcross

8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/sandbox.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit dcb2ab2

Please sign in to comment.