Skip to content

Commit

Permalink
Create github action to build linux binary (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
dangarbri authored Sep 2, 2024
1 parent e771c33 commit 2558526
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: C/C++ CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: make
run: make CFLAGS="-O2 -DNDEBUG" -j $(nproc)
- name: Upload a Build Artifact
uses: actions/[email protected]
with:
name: save_edna
path: save_edna
retention-days: 5

0 comments on commit 2558526

Please sign in to comment.