diff --git a/.github/workflows/c-gc.yml b/.github/workflows/c-gc.yml deleted file mode 100644 index 2810e56..0000000 --- a/.github/workflows/c-gc.yml +++ /dev/null @@ -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 \ No newline at end of file diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/cona-isa.yml similarity index 55% rename from .github/workflows/pythonpackage.yml rename to .github/workflows/cona-isa.yml index 80f6ee9..42a305e 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/cona-isa.yml @@ -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 }} @@ -30,4 +58,4 @@ jobs: - name: Test with pytest run: | pip install pytest - pytest + pytest \ No newline at end of file diff --git a/.github/workflows/cpp.yml b/.github/workflows/cpp.yml deleted file mode 100644 index 427c967..0000000 --- a/.github/workflows/cpp.yml +++ /dev/null @@ -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 \ No newline at end of file diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml deleted file mode 100644 index 16eb713..0000000 --- a/.github/workflows/rust.yml +++ /dev/null @@ -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 diff --git a/.github/workflows/shellcheck.yml b/.github/workflows/shellcheck.yml deleted file mode 100644 index e6ff68c..0000000 --- a/.github/workflows/shellcheck.yml +++ /dev/null @@ -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 \ No newline at end of file diff --git a/Makefile b/Makefile index a10918d..c0aae3c 100644 --- a/Makefile +++ b/Makefile @@ -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