jghkfghkf

This commit is contained in:
Kreyren 2020-02-06 02:34:01 +00:00
parent 3b692c8a00
commit 5f509b6a13
6 changed files with 38 additions and 64 deletions

@ -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:
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
strategy:
matrix:
python-version: [2.7, 3.5, 3.6, 3.7, 3.8]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}

@ -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

@ -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

@ -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

@ -14,7 +14,7 @@ all:
# FIXME: Build in '$repodir/build/build-rustlang' instead of '$repodir/target' for multilang support
build-rustlang:
@ cargo build
@ cargo build --verbose
build-gc:
@ # Make a build directory
@ -22,7 +22,9 @@ build-gc:
@ [ ! -d build/target-gc ] && { mkdir build/build-gc || exit 1 ;}
@ # 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"
# FIXME: Replace 'exit 1' with helpful messages