-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (48 loc) · 1.45 KB
/
automerge.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Merge changes from TrinityCore into TrinityCore-3.3.5-with-NPCBots
on:
workflow_dispatch:
schedule:
- cron: '0 21 * * 5'
jobs:
tier0:
name: 3.3.5 branch
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Dependencies
run: |
sudo apt-get update && sudo apt-get install -yq libboost-all-dev g++-11 p7zip-full
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 100 --slave /usr/bin/g++ g++ /usr/bin/g++-11
sudo systemctl start mysql.service
- name: Run script
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
BRANCH: 3.3.5
run: |
rm -rf .git
chmod +x update-merge.sh
./update-merge.sh
tier1:
name: ${{ matrix.BRANCH }} (needs 3.3.5)
needs: tier0
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
BRANCH: [npcbots_3.3.5]
steps:
- uses: actions/checkout@v2
- name: Dependencies
run: |
sudo apt-get update && sudo apt-get install -yq libboost-all-dev g++-11 p7zip-full
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 100 --slave /usr/bin/g++ g++ /usr/bin/g++-11
sudo systemctl start mysql.service
- name: Run script
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
BRANCH: ${{ matrix.BRANCH }}
BASE_BRANCH: 3.3.5
run: |
rm -rf .git
chmod +x update-merge.sh
./update-merge.sh