|
|
@ -8,7 +8,9 @@ name: 'suyu verify'
|
|
|
|
|
|
|
|
|
|
|
|
on:
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
pull_request:
|
|
|
|
branches: [ "dev" ]
|
|
|
|
branches: [ "forgejo-ci-testing" ]
|
|
|
|
|
|
|
|
push:
|
|
|
|
|
|
|
|
branches: [ "forgejo-ci-testing" ]
|
|
|
|
env:
|
|
|
|
env:
|
|
|
|
PR_NUMBER: pr${{ github.event.number }}
|
|
|
|
PR_NUMBER: pr${{ github.event.number }}
|
|
|
|
|
|
|
|
|
|
|
@ -16,6 +18,8 @@ jobs:
|
|
|
|
format:
|
|
|
|
format:
|
|
|
|
name: 'verify format'
|
|
|
|
name: 'verify format'
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
container:
|
|
|
|
|
|
|
|
image: fijxu/build-environments:linux-clang-format
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- uses: https://code.forgejo.org/actions/checkout@v3
|
|
|
|
- uses: https://code.forgejo.org/actions/checkout@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
@ -26,6 +30,7 @@ jobs:
|
|
|
|
java-version: '17'
|
|
|
|
java-version: '17'
|
|
|
|
distribution: 'temurin'
|
|
|
|
distribution: 'temurin'
|
|
|
|
- name: 'Verify Formatting'
|
|
|
|
- name: 'Verify Formatting'
|
|
|
|
|
|
|
|
container:
|
|
|
|
run: bash -ex ./.ci/scripts/format/script.sh
|
|
|
|
run: bash -ex ./.ci/scripts/format/script.sh
|
|
|
|
build-linux:
|
|
|
|
build-linux:
|
|
|
|
name: 'test build'
|
|
|
|
name: 'test build'
|
|
|
@ -193,3 +198,4 @@ jobs:
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
name: android
|
|
|
|
name: android
|
|
|
|
path: artifacts/
|
|
|
|
path: artifacts/
|
|
|
|
|
|
|
|
|
|
|
|