verify: Add GitHub workflow script
Based on lat9nq/AppImageKit-checkrt@9dba50b923
This commit is contained in:
parent
3b0f28c71f
commit
d40433f651
1 changed files with 26 additions and 0 deletions
26
.github/workflows/verify.yml
vendored
Normal file
26
.github/workflows/verify.yml
vendored
Normal file
|
@ -0,0 +1,26 @@
|
|||
name: C/C++ CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ gh-workflow ]
|
||||
pull_request:
|
||||
branches: [ gh-workflow ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-18.04
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: make
|
||||
run: make -C src
|
||||
- name: copy
|
||||
run: |
|
||||
mkdir -p artifacts
|
||||
cp -v src/checkrt src/exec.so artifacts
|
||||
- name: upload
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: binaries
|
||||
path: artifacts/*
|
Loading…
Reference in a new issue