forked from LSS-Manager/LSSM-V.4
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (31 loc) · 963 Bytes
/
test_build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: '[🧪] Test build'
run-name: '[🧪] Test build on `${{ github.ref }}`'
on:
push:
pull_request:
jobs:
build:
strategy:
matrix:
os:
- ubuntu-22.04
- ubuntu-20.04
- macos-12
- macos-11
runs-on: ${{ matrix.os }}
name: '[🧪] Test Build on ${{ matrix.os }}'
steps:
- name: '[📥] checkout'
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: '[👷] run build script on git repository'
run: |
./build/build.sh --full --debug
- name: '[🔥] clean and remove git'
run: |
git clean -xdf
rm -rf .git
- name: '[👷] run build script on non-git directory'
run: |
./build/build.sh --full --debug