From e30c47f868cce3ebda258fc3c69804cf8d90a85d Mon Sep 17 00:00:00 2001 From: Yunfan Li Date: Mon, 4 Mar 2024 19:42:50 +0800 Subject: [PATCH] Update workflows --- .github/workflows/core-build.yml | 31 ++++++++++++++++++----------- .github/workflows/windows_build.yml | 2 +- 2 files changed, 20 insertions(+), 13 deletions(-) diff --git a/.github/workflows/core-build.yml b/.github/workflows/core-build.yml index 716bedac..16839e14 100644 --- a/.github/workflows/core-build.yml +++ b/.github/workflows/core-build.yml @@ -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 diff --git a/.github/workflows/windows_build.yml b/.github/workflows/windows_build.yml index 5d3f0671..87c9e5e2 100644 --- a/.github/workflows/windows_build.yml +++ b/.github/workflows/windows_build.yml @@ -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