2020-02-10 15:03:01 +01:00
|
|
|
# Workflow for rustlang
|
|
|
|
name: RonaLisa (Rustlang)
|
|
|
|
|
|
|
|
# Relevant to events - https://help.github.com/en/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
branches: [master]
|
|
|
|
types: [synchronize, opened, reopened, ready_for_review]
|
|
|
|
paths:
|
2020-02-10 15:07:28 +01:00
|
|
|
- '**.rs'
|
2020-02-10 15:03:01 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build-rustlang:
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2020-02-10 15:08:42 +01:00
|
|
|
os: [macos-latest, windows-latest, ubuntu-latest]
|
2020-02-10 15:03:01 +01:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: building..
|
|
|
|
run: make build-rustlang
|
2020-02-10 15:07:28 +01:00
|
|
|
build-rustlang-debian:
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2020-02-10 15:08:42 +01:00
|
|
|
os: [ubuntu-latest]
|
2020-02-10 15:07:28 +01:00
|
|
|
steps:
|
|
|
|
- uses: docker://debian/testing:latest
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: building..
|
|
|
|
run: make build-rustlang
|
2020-02-10 15:03:01 +01:00
|
|
|
check-rustlang:
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
os: [macos-latest, windows-latest, ubuntu-18.04]
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: running tests..
|
|
|
|
run: make check-rustlang
|
|
|
|
bench-rustlang:
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
os: [macos-latest, windows-latest, ubuntu-18.04]
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: running benchmarks..
|
|
|
|
run: make bench-rustlang
|