mirror of
https://github.com/charlesthobe/chdman.git
synced 2024-11-24 07:25:31 +00:00
workflow: mac cl
This commit is contained in:
parent
9e31736f56
commit
b145a48c33
43
.github/workflows/ci-macos.yml
vendored
Normal file
43
.github/workflows/ci-macos.yml
vendored
Normal file
@ -0,0 +1,43 @@
|
||||
name: CI (macOS)
|
||||
|
||||
on:
|
||||
# push:
|
||||
# paths:
|
||||
# - '.github/**'
|
||||
# - '3rdparty/**'
|
||||
# - 'hash/**'
|
||||
# - 'scripts/**'
|
||||
# - 'src/**'
|
||||
# - 'CMakeLists.txt'
|
||||
# - 'cmake_subdirs/**'
|
||||
# pull_request:
|
||||
# paths:
|
||||
# - '.github/**'
|
||||
# - '3rdparty/**'
|
||||
# - 'hash/**'
|
||||
# - 'scripts/**'
|
||||
# - 'src/**'
|
||||
# - 'CMakeLists.txt'
|
||||
# - 'cmake_subdirs/**'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build-macos:
|
||||
runs-on: macOS-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- name: Install dependencies
|
||||
run: brew install ninja
|
||||
- name: Build
|
||||
run: |
|
||||
cmake -G Ninja
|
||||
ninja
|
||||
- name: 'Get Previous tag'
|
||||
id: previoustag
|
||||
uses: "WyriHaximus/github-action-get-previous-tag@v1"
|
||||
with:
|
||||
fallback: test
|
||||
- uses: actions/upload-artifact@master
|
||||
with:
|
||||
name: chdman-macos-${{ steps.previoustag.outputs.tag }}
|
||||
path: chdman
|
Loading…
Reference in New Issue
Block a user