Skip to content

Commit

Permalink
Automatically build with GitHub Actions (#17)
Browse files Browse the repository at this point in the history
* Create .github/workflows/c-cpp.yml

* Update c-cpp.yml

* Fix -
  • Loading branch information
Minionguyjpro authored Dec 27, 2023
1 parent 059c143 commit 7c9512d
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: C/C++ CI

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

jobs:
build:

runs-on: ubuntu-latest

steps:
- name: Clone repository
uses: actions/checkout@v3

- name: Compile .c file
run: gcc huawei_bootloader_unlocker.c -o huawei_bootloader_unlocker

- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: huawei_bootloader_unlocker
path: ./huawei_bootloader_unlocker

0 comments on commit 7c9512d

Please sign in to comment.