mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-17 03:25:45 +01:00
rename validate to ci/bin, and split up workflows
This is mainly to improve the clairity of the workflows, also allowing them to be used for the different "badges", showing the state of each.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
name: validate
|
||||
name: bin
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
@@ -7,8 +7,7 @@ on:
|
||||
branches:
|
||||
- '**'
|
||||
jobs:
|
||||
# TODO: add unit test job here
|
||||
compile-and-lint:
|
||||
compile:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/thepigeongenerator/mcaselector-lite:latest
|
||||
@@ -20,4 +19,4 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: make compile ARCH=${{matrix.arch}} -j
|
||||
# TODO: add linting checking here
|
||||
|
||||
17
.github/workflows/ci-lint.yaml
vendored
Normal file
17
.github/workflows/ci-lint.yaml
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
name: lint
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- '**'
|
||||
pull_request:
|
||||
branches:
|
||||
- '**'
|
||||
jobs:
|
||||
compile:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/thepigeongenerator/mcaselector-lite:latest
|
||||
steps:
|
||||
# TODO: add linting checking here
|
||||
- run: echo "TODO"
|
||||
|
||||
21
.github/workflows/ci-tests.yaml
vendored
Normal file
21
.github/workflows/ci-tests.yaml
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
name: tests
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- '**'
|
||||
pull_request:
|
||||
branches:
|
||||
- '**'
|
||||
jobs:
|
||||
execute-tests:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/thepigeongenerator/mcaselector-lite:latest
|
||||
strategy:
|
||||
matrix:
|
||||
arch:
|
||||
- linux-x86_64
|
||||
- win-x86_64
|
||||
steps:
|
||||
# TODO: add unit test job here
|
||||
- run: echo "TODO"
|
||||
Reference in New Issue
Block a user