Update ccpp.yml
parent
2ec097b862
commit
2c87088079
|
@ -16,7 +16,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
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.
|
# For Windows msvc, for Linux and macOS let's use the clang compiler, use gcc for Linux.
|
||||||
include:
|
include:
|
||||||
- name: windows-latest-cl.exe
|
- name: windows-latest-cl.exe
|
||||||
|
@ -41,9 +41,9 @@ jobs:
|
||||||
- name: macos-clang-hunter
|
- name: macos-clang-hunter
|
||||||
os: macos-latest
|
os: macos-latest
|
||||||
toolchain: ninja-clang-cxx17-fpic
|
toolchain: ninja-clang-cxx17-fpic
|
||||||
#- name: windows-msvc-hunter
|
- name: windows-msvc-hunter
|
||||||
# os: windows-latest
|
os: windows-latest
|
||||||
# toolchain: ninja-vs-win64-cxx17
|
toolchain: ninja-vs-win64-cxx17
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
@ -130,11 +130,11 @@ jobs:
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
if: contains(matrix.name, 'latest')
|
if: contains(matrix.name, 'latest')
|
||||||
with:
|
with:
|
||||||
name: 'assimp-bins-${{ matrix.name }}-${{ github.sha }}'
|
name: 'assimp-bins-${{ matrix.name }}'
|
||||||
path: build/bin
|
path: build/bin
|
||||||
|
|
||||||
- uses: marvinpinto/action-automatic-releases@latest
|
- uses: marvinpinto/action-automatic-releases@latest
|
||||||
if: contains(matrix.name, 'windows-latest-cl.exe')
|
if: contains(matrix.name, 'windows-msvc-hunter')
|
||||||
with:
|
with:
|
||||||
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
automatic_release_tag: "master"
|
automatic_release_tag: "master"
|
||||||
|
|
Loading…
Reference in New Issue