jghkfghkf
This commit is contained in:
parent
3b692c8a00
commit
5f509b6a13
15
.github/workflows/c-gc.yml
vendored
15
.github/workflows/c-gc.yml
vendored
@ -1,15 +0,0 @@
|
|||||||
name: c-lang gc CI
|
|
||||||
|
|
||||||
on: [pull_request, push]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- name: make build-gc
|
|
||||||
run: make build-gc
|
|
||||||
- name: make check-gc
|
|
||||||
run: make check-gc
|
|
@ -1,15 +1,43 @@
|
|||||||
name: Python package
|
name: ConaIsa
|
||||||
|
|
||||||
on: [pull_request, push]
|
on: [pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
rustlang:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: build
|
||||||
|
run: make build-rustlang
|
||||||
|
- name: tests
|
||||||
|
run: make check-rustlang
|
||||||
|
gc:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: make build-gc
|
||||||
|
run: make build-gc
|
||||||
|
- name: make check-gc
|
||||||
|
run: make check-gc
|
||||||
|
gcc:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: make build-gcc
|
||||||
|
run: make build-gcc
|
||||||
|
- name: make check-gcc
|
||||||
|
run: make check-gcc
|
||||||
|
shell:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: shellcheck
|
||||||
|
uses: azohra/shell-linter@v0.2.0
|
||||||
|
python:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
python-version: [2.7, 3.5, 3.6, 3.7, 3.8]
|
python-version: [2.7, 3.5, 3.6, 3.7, 3.8]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
@ -30,4 +58,4 @@ jobs:
|
|||||||
- name: Test with pytest
|
- name: Test with pytest
|
||||||
run: |
|
run: |
|
||||||
pip install pytest
|
pip install pytest
|
||||||
pytest
|
pytest
|
15
.github/workflows/cpp.yml
vendored
15
.github/workflows/cpp.yml
vendored
@ -1,15 +0,0 @@
|
|||||||
name: CPP GCC CI
|
|
||||||
|
|
||||||
on: [pull_request, push]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- name: make build-gcc
|
|
||||||
run: make build-gcc
|
|
||||||
- name: make check-gcc
|
|
||||||
run: make check-gcc
|
|
15
.github/workflows/rust.yml
vendored
15
.github/workflows/rust.yml
vendored
@ -1,15 +0,0 @@
|
|||||||
name: Rust
|
|
||||||
|
|
||||||
on: [pull_request, push]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- name: Build
|
|
||||||
run: cargo build --verbose
|
|
||||||
- name: Tests
|
|
||||||
run: cargo test --verbose
|
|
11
.github/workflows/shellcheck.yml
vendored
11
.github/workflows/shellcheck.yml
vendored
@ -1,11 +0,0 @@
|
|||||||
name: Shell/Bash lint
|
|
||||||
|
|
||||||
on: [pull_request, push]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- name: Shell Linter
|
|
||||||
uses: azohra/shell-linter@v0.2.0
|
|
6
Makefile
6
Makefile
@ -14,7 +14,7 @@ all:
|
|||||||
|
|
||||||
# FIXME: Build in '$repodir/build/build-rustlang' instead of '$repodir/target' for multilang support
|
# FIXME: Build in '$repodir/build/build-rustlang' instead of '$repodir/target' for multilang support
|
||||||
build-rustlang:
|
build-rustlang:
|
||||||
@ cargo build
|
@ cargo build --verbose
|
||||||
|
|
||||||
build-gc:
|
build-gc:
|
||||||
@ # Make a build directory
|
@ # Make a build directory
|
||||||
@ -22,7 +22,9 @@ build-gc:
|
|||||||
@ [ ! -d build/target-gc ] && { mkdir build/build-gc || exit 1 ;}
|
@ [ ! -d build/target-gc ] && { mkdir build/build-gc || exit 1 ;}
|
||||||
|
|
||||||
@ # Compilation
|
@ # Compilation
|
||||||
@ [ ! -f build/build-gc ] && { gc src/bin/main.c -o build/build-gc/gc-zernit || exit 1 ;}
|
@ ## gc is not available on github -> Using GCC
|
||||||
|
@
|
||||||
|
@ [ ! -f build/build-gc/gc-zernit ] && { gcc src/bin/main.c -o build/build-gc/gc-zernit || exit 1 ;}
|
||||||
@ printf '%s\n' "Compilation of target for gc finished"
|
@ printf '%s\n' "Compilation of target for gc finished"
|
||||||
|
|
||||||
# FIXME: Replace 'exit 1' with helpful messages
|
# FIXME: Replace 'exit 1' with helpful messages
|
||||||
|
Loading…
Reference in New Issue
Block a user