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.
matrix:
os: [ubuntu-latest]
build_type: [Release]
c_compiler: [gcc, clang, cl]
# the result of the matrix will be the combination of all attributes, so we get os*compiler builds
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++
- os: ubuntu-20.04
compiler: clang12
- os: ubuntu-20.04
compiler: gcc10
# matrix:
# os: [ubuntu-latest]
# build_type: [Release]
# c_compiler: [gcc, clang, cl]
# 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:
# - os: windows-latest
# c_compiler: gcc

View File

@@ -22,7 +22,7 @@ jobs:
repository: 'liyunfan1223/azerothcore-wotlk'
ref: 'Playerbot'
- 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
uses: hendrikmuhs/ccache-action@v1.2.9
- name: Configure OS