Update ccpp.yml

pull/4839/head
Kazuki Y 2022-12-17 21:49:28 +09:00 committed by GitHub
parent 2ec097b862
commit 2c87088079
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
name: [ubuntu-latest-g++, macos-latest-clang++, windows-latest-cl.exe, ubuntu-latest-clang++, ubuntu-gcc-hunter, macos-clang-hunter]
name: [ubuntu-latest-g++, macos-latest-clang++, windows-latest-cl.exe, ubuntu-latest-clang++, ubuntu-gcc-hunter, macos-clang-hunter, windows-msvc-hunter]
# For Windows msvc, for Linux and macOS let's use the clang compiler, use gcc for Linux.
include:
- name: windows-latest-cl.exe
@ -41,9 +41,9 @@ jobs:
- name: macos-clang-hunter
os: macos-latest
toolchain: ninja-clang-cxx17-fpic
#- name: windows-msvc-hunter
# os: windows-latest
# toolchain: ninja-vs-win64-cxx17
- name: windows-msvc-hunter
os: windows-latest
toolchain: ninja-vs-win64-cxx17
steps:
- uses: actions/checkout@v3
@ -130,11 +130,11 @@ jobs:
- uses: actions/upload-artifact@v3
if: contains(matrix.name, 'latest')
with:
name: 'assimp-bins-${{ matrix.name }}-${{ github.sha }}'
name: 'assimp-bins-${{ matrix.name }}'
path: build/bin
- uses: marvinpinto/action-automatic-releases@latest
if: contains(matrix.name, 'windows-latest-cl.exe')
if: contains(matrix.name, 'windows-msvc-hunter')
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "master"