mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-17 07:35:45 +01:00
merge CI pipelines again, since the new thing didn't work well with artifacts.
This commit is contained in:
17
.github/workflows/ci-lint.yaml
vendored
17
.github/workflows/ci-lint.yaml
vendored
@@ -1,17 +0,0 @@
|
|||||||
name: lint
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- '**'
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- '**'
|
|
||||||
jobs:
|
|
||||||
exec-lint:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
container:
|
|
||||||
image: ghcr.io/thepigeongenerator/mcaselector-lite:latest
|
|
||||||
steps:
|
|
||||||
# TODO: add linting checking here
|
|
||||||
- run: echo "TODO"
|
|
||||||
|
|
||||||
27
.github/workflows/ci-tests.yaml
vendored
27
.github/workflows/ci-tests.yaml
vendored
@@ -1,27 +0,0 @@
|
|||||||
name: tests
|
|
||||||
on:
|
|
||||||
workflow_run:
|
|
||||||
workflows:
|
|
||||||
- bin
|
|
||||||
types:
|
|
||||||
- completed
|
|
||||||
jobs:
|
|
||||||
execute-tests:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
container:
|
|
||||||
image: ghcr.io/thepigeongenerator/mcaselector-lite:latest
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
include:
|
|
||||||
- kernel: linux
|
|
||||||
march: x86_64
|
|
||||||
cc: x86_64-linux-gnu-gcc
|
|
||||||
# WARN: not testing win-x86_64... Probably a good idea to do that
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- uses: actions/download-artifact@v4
|
|
||||||
with:
|
|
||||||
name: ${{matrix.march}}-${{matrix.kernel}}-rel
|
|
||||||
path: obj/
|
|
||||||
- name: execute tests for ${{matrix.march}}-${{matrix.kernel}}
|
|
||||||
run: make DEBUG=test run MARCH=${{matrix.march}} KERNEL=${{matrix.kernel}} CC=${{matrix.cc}} -j
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
name: bin
|
name: CI
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
@@ -28,3 +28,23 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: ${{matrix.march}}-${{matrix.kernel}}-rel
|
name: ${{matrix.march}}-${{matrix.kernel}}-rel
|
||||||
path: obj/
|
path: obj/
|
||||||
|
test:
|
||||||
|
needs: compile
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: ghcr.io/thepigeongenerator/mcaselector-lite:latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- kernel: linux
|
||||||
|
march: x86_64
|
||||||
|
cc: x86_64-linux-gnu-gcc
|
||||||
|
# WARN: not testing win-x86_64... Probably a good idea to do that
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/download-artifact@v4
|
||||||
|
with:
|
||||||
|
name: ${{matrix.march}}-${{matrix.kernel}}-rel
|
||||||
|
path: obj/
|
||||||
|
- name: execute tests for ${{matrix.march}}-${{matrix.kernel}}
|
||||||
|
run: make DEBUG=test run MARCH=${{matrix.march}} KERNEL=${{matrix.kernel}} CC=${{matrix.cc}} -j
|
||||||
Reference in New Issue
Block a user