Skip to content

Commit

Permalink
build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
partouf committed Sep 5, 2024
1 parent 09b0c1b commit d9c2ad6
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: CI

on:
push:
branches: [ main ]
tags: ['*']
pull_request:
branches: [ main ]

jobs:
build:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v2

- name: Build
run: |
make release
- uses: actions/upload-artifact@v4
with:
path: |
build/bin/libSegFault.so
build/bin/tracer
- name: Release
uses: fnkr/github-action-ghr@v1
if: startsWith(github.ref, 'refs/tags/')
env:
GHR_COMPRESS: xz
GHR_PATH: build/bin/
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit d9c2ad6

Please sign in to comment.