mirror of
https://github.com/charlesthobe/chdman.git
synced 2024-11-24 07:25:31 +00:00
testing github workflows
This commit is contained in:
parent
f2f7224596
commit
7345661d40
46
.github/workflows/ci-linux.yml
vendored
Normal file
46
.github/workflows/ci-linux.yml
vendored
Normal file
@ -0,0 +1,46 @@
|
||||
name: CI (Linux)
|
||||
|
||||
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-linux:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt install -y build-essential ninja-build
|
||||
- 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-linux-${{ steps.previoustag.outputs.tag }}
|
||||
path: chdman
|
||||
|
Loading…
Reference in New Issue
Block a user