Update workflows

This commit is contained in:
Yunfan Li
2024-03-04 19:42:50 +08:00
parent b50c287ac3
commit e30c47f868
2 changed files with 20 additions and 13 deletions

View File

@@ -23,19 +23,26 @@ jobs:
# #
# To add more build types (Release, Debug, RelWithDebInfo, etc.) customize the build_type list. # To add more build types (Release, Debug, RelWithDebInfo, etc.) customize the build_type list.
matrix: matrix:
os: [ubuntu-latest] # the result of the matrix will be the combination of all attributes, so we get os*compiler builds
build_type: [Release]
c_compiler: [gcc, clang, cl]
include: include:
# - os: windows-latest - os: ubuntu-20.04
# c_compiler: cl compiler: clang12
# cpp_compiler: cl - os: ubuntu-20.04
- os: ubuntu-latest compiler: gcc10
c_compiler: gcc # matrix:
cpp_compiler: g++ # os: [ubuntu-latest]
- os: ubuntu-latest # build_type: [Release]
c_compiler: clang # c_compiler: [gcc, clang, cl]
cpp_compiler: clang++ # include:
# # - os: windows-latest
# # c_compiler: cl
# # cpp_compiler: cl
# - os: ubuntu-latest
# c_compiler: gcc
# cpp_compiler: g++
# - os: ubuntu-latest
# c_compiler: clang
# cpp_compiler: clang++
exclude: exclude:
# - os: windows-latest # - os: windows-latest
# c_compiler: gcc # c_compiler: gcc

View File

@@ -22,7 +22,7 @@ jobs:
repository: 'liyunfan1223/azerothcore-wotlk' repository: 'liyunfan1223/azerothcore-wotlk'
ref: 'Playerbot' ref: 'Playerbot'
- name: Clone Playerbot Module - name: Clone Playerbot Module
run: git clone --depth=1 --branch=master https://github.com/liyunfan1223/mod-playerbots.git modules/mod-playerbot run: git clone --depth=1 --branch=master https://github.com/liyunfan1223/mod-playerbots.git modules/mod-playerbots
- name: ccache - name: ccache
uses: hendrikmuhs/ccache-action@v1.2.9 uses: hendrikmuhs/ccache-action@v1.2.9
- name: Configure OS - name: Configure OS