Skip to content

Commit f82ac17

Browse files
committed
initial CI workflow
1 parent fab7a39 commit f82ac17

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/push.yaml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: push
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
env:
10+
# For setup-rust, see https://github.com/moonrepo/setup-rust/issues/22
11+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
12+
13+
jobs:
14+
install-and-build-shaders:
15+
strategy:
16+
matrix:
17+
os: [ubuntu-latest, macos-latest, windows-latest]
18+
runs-on: ${{ matrix.os }}
19+
defaults:
20+
run:
21+
shell: bash
22+
steps:
23+
- uses: actions/checkout@v2
24+
- uses: moonrepo/setup-rust@v1
25+
- run: rustup default stable
26+
- run: rustup update
27+
- run: cargo install --path . cargo-gpu
28+
29+
clippy:
30+
runs-on: ubuntu-latest
31+
steps:
32+
- uses: actions/checkout@v2
33+
- uses: moonrepo/setup-rust@v1
34+
- run: cargo clippy

0 commit comments

Comments
 (0)