verify: Add GitHub workflow script

Based on lat9nq/AppImageKit-checkrt@9dba50b923
This commit is contained in:
lat9nq 2022-07-27 16:22:59 -04:00 committed by GitHub
parent 3b0f28c71f
commit d40433f651
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

26
.github/workflows/verify.yml vendored Normal file
View 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/*