/ .github / workflows / verify.yml
verify.yml
 1  name: C/C++ CI
 2  
 3  on:
 4    push:
 5      branches: [ gh-workflow ]
 6    pull_request:
 7      branches: [ gh-workflow ]
 8  
 9  jobs:
10    build:
11  
12      runs-on: ubuntu-18.04
13  
14      steps:
15      - uses: actions/checkout@v3
16      - name: make
17        run: make -C src
18      - name: copy
19        run: |
20          mkdir -p artifacts 
21          cp -v src/checkrt src/exec.so artifacts
22      - name: upload
23        uses: actions/upload-artifact@v3
24        with:
25          name: binaries
26          path: artifacts/*