mirror of
https://github.com/jorenchik/testing-spring-2024.git
synced 2025-10-21 20:10:36 +00:00
chore(CI/CD): add lib upload on release
This commit is contained in:
parent
539e6854e3
commit
1dacf6ddd9
24
.github/workflows/CI.yml
vendored
Normal file
24
.github/workflows/CI.yml
vendored
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
name: CI/CD
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types: [published]
|
||||||
|
jobs:
|
||||||
|
build_and_release:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
- name: Setup CMake
|
||||||
|
uses: jwlawson/actions-setup-cmake@v1.14
|
||||||
|
- name: Setup Ninja
|
||||||
|
uses: seanmiddleditch/gha-setup-ninja@master
|
||||||
|
- name: Configure and build
|
||||||
|
run: |
|
||||||
|
cmake -G Ninja -B build
|
||||||
|
cd build
|
||||||
|
ninja
|
||||||
|
- name: Updoad file
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: libvalidation.a
|
||||||
|
path: ./build/libvalidation.a
|
||||||
Loading…
Reference in New Issue
Block a user