2020-02-10 16:36:34 +01:00
|
|
|
# Workflow for Rustlang
|
2020-02-10 17:08:57 +01:00
|
|
|
name: ConaIsa
|
2020-02-10 16:36:34 +01:00
|
|
|
|
|
|
|
# Relevant to events - https://help.github.com/en/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
types: [synchronize, opened, reopened, ready_for_review]
|
|
|
|
paths:
|
|
|
|
- '**.rs'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
# Kernel specific builds
|
|
|
|
build-rustlang:
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
os: [macos-latest, windows-latest]
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: building..
|
|
|
|
run: make build-rustlang
|
|
|
|
|
|
|
|
# Docker builds
|
|
|
|
build-rustlang-debian:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: docker://debian/testing:latest
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: building..
|
|
|
|
run: make build-rustlang
|
|
|
|
|
|
|
|
build-rustlang-fedora:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: docker://fedora/latest:latest
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: building..
|
|
|
|
run: make build-rustlang
|
|
|
|
|
|
|
|
# Run tests
|
|
|
|
check-rustlang:
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
os: [macos-latest, windows-latest, ubuntu-latest]
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: running tests..
|
|
|
|
run: make check-rustlang
|
|
|
|
|
|
|
|
# Benchmarks
|
|
|
|
bench-rustlang:
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
os: [macos-latest, windows-latest, ubuntu-latest]
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: running benchmarks..
|
|
|
|
run: make bench-rustlang
|