Skip to content

Commit 00106b9

Browse files
committed
Auto merge of #1563 - lzutao:dummy-actions, r=RalfJung
Add a dummy actions template to enable it on CI I already had a complete template to transition from Travis and Appveyor. Since actions will not run on repo haven't enabled it before. I have this dummy template first to enable it on default branch. We should address a few todo here, merge it and I will send another patch to complete the migration.
2 parents 3fafb83 + 1c9db02 commit 00106b9

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)