fhdfhs
This commit is contained in:
parent
63710ce362
commit
4f01cca7ff
2
.github/workflows/C.yml
vendored
2
.github/workflows/C.yml
vendored
@ -17,7 +17,7 @@ jobs:
|
|||||||
- name: Installing dependencies..
|
- name: Installing dependencies..
|
||||||
run: if ! apt list --installed | grep -qP ".*cppcheck.*"; then apt install -y cppcheck; fi
|
run: if ! apt list --installed | grep -qP ".*cppcheck.*"; then apt install -y cppcheck; fi
|
||||||
- name: Linting..
|
- name: Linting..
|
||||||
run: for file in $(git --no-pager diff --name-only origin/master | grep -oP "^\w+\.c") ;do cppcheck "$file";done
|
run: for file in $(git --no-pager diff --name-only origin/master | grep -o ".*\.c") ;do cppcheck "$file";done
|
||||||
# Kernel specific builds
|
# Kernel specific builds
|
||||||
build-gcc-c:
|
build-gcc-c:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
2
.github/workflows/CPP.yml
vendored
2
.github/workflows/CPP.yml
vendored
@ -17,7 +17,7 @@ jobs:
|
|||||||
- name: Installing dependencies..
|
- name: Installing dependencies..
|
||||||
run: if ! apt list --installed | grep -qP ".*cppcheck.*"; then apt install -y cppcheck; fi
|
run: if ! apt list --installed | grep -qP ".*cppcheck.*"; then apt install -y cppcheck; fi
|
||||||
- name: Linting..
|
- name: Linting..
|
||||||
run: for file in $(git --no-pager diff --name-only origin/master | grep -oP "^\w+\.cpp") ;do cppcheck "$file";done
|
run: for file in $(git --no-pager diff --name-only origin/master | grep -o ".*\.cpp") ;do cppcheck "$file";done
|
||||||
# Kernel specific builds
|
# Kernel specific builds
|
||||||
build-gcc-cpp:
|
build-gcc-cpp:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
2
.github/workflows/python.yml
vendored
2
.github/workflows/python.yml
vendored
@ -36,7 +36,7 @@ jobs:
|
|||||||
- name: Test with pytest
|
- name: Test with pytest
|
||||||
run: |
|
run: |
|
||||||
pip install pytest
|
pip install pytest
|
||||||
for file in $(git --no-pager diff --name-only origin/master | grep -oP "^\w+\.py") ;do pytest "$file";done
|
for file in $(git --no-pager diff --name-only origin/master | grep -o ".*\.py") ;do pytest "$file";done
|
||||||
# Kernel specific builds
|
# Kernel specific builds
|
||||||
build-python:
|
build-python:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
60
.github/workflows/rustlang.yml
vendored
Normal file
60
.github/workflows/rustlang.yml
vendored
Normal file
@ -0,0 +1,60 @@
|
|||||||
|
# Workflow for Rustlang
|
||||||
|
name: RonaLisa
|
||||||
|
|
||||||
|
# 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
|
Loading…
Reference in New Issue
Block a user