2021-03-29 23:05:45 +03:00
|
|
|
#
|
2024-02-04 00:31:58 +03:00
|
|
|
# Copyright (C) 2020-2024 Lin Song <linsongui@gmail.com>
|
2021-03-29 23:05:45 +03:00
|
|
|
#
|
|
|
|
# This work is licensed under the Creative Commons Attribution-ShareAlike 3.0
|
|
|
|
# Unported License: http://creativecommons.org/licenses/by-sa/3.0/
|
|
|
|
#
|
|
|
|
# Attribution required: please include my name in any derivative and let me
|
|
|
|
# know how you have improved it!
|
|
|
|
|
2022-04-25 07:43:42 +03:00
|
|
|
name: build
|
2020-07-07 09:25:07 +03:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [master]
|
|
|
|
paths:
|
|
|
|
- '**.sh'
|
|
|
|
- '.github/workflows/main.yml'
|
2022-02-07 01:41:39 +03:00
|
|
|
- '.github/workflows/shellcheck.yml'
|
|
|
|
- '.github/workflows/test_set_1.yml'
|
|
|
|
- '.github/workflows/test_set_2.yml'
|
2020-07-07 09:25:07 +03:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
shellcheck:
|
2021-03-10 08:26:06 +03:00
|
|
|
if: github.repository_owner == 'hwdsl2'
|
2022-02-07 01:41:39 +03:00
|
|
|
uses: ./.github/workflows/shellcheck.yml
|
2020-07-07 09:25:07 +03:00
|
|
|
|
|
|
|
test_set_1:
|
2023-02-12 08:12:15 +03:00
|
|
|
needs: shellcheck
|
2022-02-07 01:41:39 +03:00
|
|
|
uses: ./.github/workflows/test_set_1.yml
|
2020-07-07 09:25:07 +03:00
|
|
|
|
|
|
|
test_set_2:
|
2023-02-12 08:12:15 +03:00
|
|
|
needs: shellcheck
|
2022-02-07 01:41:39 +03:00
|
|
|
uses: ./.github/workflows/test_set_2.yml
|