Skip to content

Commit

Permalink
Merge pull request #1 from zeroday0619/master
Browse files Browse the repository at this point in the history
Build automation using github actions and update pci.ids.txt
  • Loading branch information
Redecorating authored Jul 9, 2021
2 parents 758aa13 + 8436f21 commit 2ccea7b
Show file tree
Hide file tree
Showing 3 changed files with 2,506 additions and 294 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: C/C++ CI

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

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
fetch-depth: '0'

- name: Install dependency
run: |
sudo apt-get update
sudo apt-get install build-essential gnu-efi
- name: make
run: |
make
- name: generate tag
id: tag
run: |
count=$(git rev-list --count HEAD)
hash=$(git rev-parse --short HEAD)
echo "::set-output name=tag::r${count}.${hash}"
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "${{ steps.tag.outputs.tag }}"
prerelease: false
title: "Release ${{ steps.tag.outputs.tag }}"
files: |
*.efi
Loading

0 comments on commit 2ccea7b

Please sign in to comment.