Skip to content

Bump actions/download-artifact from 1 to 4.1.7 in /.github/workflows #30

Bump actions/download-artifact from 1 to 4.1.7 in /.github/workflows

Bump actions/download-artifact from 1 to 4.1.7 in /.github/workflows #30

Workflow file for this run

name: C/C++ CI
on: [push]
jobs:
build:
strategy:
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
include:
- platform: windows-latest
cmake_type: "Visual Studio 16 2019"
dll_name: "Release/libvhacd.dll"
target_dll_name: "libvhacd.dll"
- platform: ubuntu-latest
cmake_type: "Unix Makefiles"
dll_name: "liblibvhacd.so"
target_dll_name: "liblibvhacd.so"
- platform: macos-latest
cmake_type: "Unix Makefiles"
dll_name: "liblibvhacd.dylib"
target_dll_name: "liblibvhacd.bundle"
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v1
- uses: ilammy/[email protected]
- name: configure
run: |
mkdir build
cd build
cmake -G "${{ matrix.cmake_type }}" ../src
- name: build
run: cmake --build build --config Release
- uses: actions/upload-artifact@v1
with:
name: ${{ matrix.platform }}
path: build/dll/${{ matrix.dll_name }}
create_release:
runs-on: ubuntu-latest
needs: [build]
steps:
- uses: actions/checkout@v1
- name: make release
uses: actions/[email protected]
id: create_release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
draft: true
tag_name: ${{ github.ref }}
release_name: build of ${{ github.sha }}
- uses: actions/[email protected]
with:
name: ubuntu-latest
- uses: actions/[email protected]
with:
name: windows-latest
- uses: actions/[email protected]
with:
name: macos-latest