Skip to content

Commit 1c9db02

Browse files
committed
Add a dummy actions template to enable it on CI
1 parent aa832c1 commit 1c9db02

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/ci.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
# Run in PRs and for bors, but not on master.
6+
branches:
7+
- 'auto'
8+
- 'try'
9+
pull_request:
10+
branches:
11+
- 'master'
12+
schedule:
13+
# Use <https://crontab.guru> to conveniently edit cron schedule.
14+
- cron: "0 7 * * *" # At 07:00 UTC every day.
15+
16+
jobs:
17+
build:
18+
runs-on: ${{ matrix.os }}
19+
env:
20+
RUST_BACKTRACE: 1
21+
strategy:
22+
matrix:
23+
build: [linux64, macos, win32]
24+
include:
25+
- build: linux64
26+
os: ubuntu-latest
27+
host_target: x86_64-unknown-linux-gnu
28+
- build: macos
29+
os: macos-latest
30+
host_target: x86_64-apple-darwin
31+
- build: win32
32+
os: windows-latest
33+
host_target: i686-pc-windows-msvc
34+
steps:
35+
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)