mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Add github actions CI
This commit is contained in:
1 parent
69830bb44d
commit
f5531555f7
1 file changed
+24
@@ -0,0 +1,24 @@
|
||||
on: [push]
|
||||
|
||||
name: CI
|
||||
|
||||
jobs:
|
||||
rust_tests:
|
||||
name: Run Rust tests
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: ["macos-latest", "ubuntu-latest", "windows-latest"]
|
||||
fail-fast: false
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- run: powershell.exe scripts/symlinks-to-hardlinks.ps1
|
||||
if: matrix.os == 'windows-latest'
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: build
|
||||
args: --verbose --all
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: test
|
||||
args: --verbose --all
|
||||
Reference in new issue
Block a user