Skip to content

Commit

Permalink
Initial GitHub action build workflow pipeline.
Browse files Browse the repository at this point in the history
  • Loading branch information
nthnn committed Sep 7, 2024
1 parent 798090d commit 0025deb
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build_ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build CI

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Get build dependencies
run: sudo apt install build-essential make -y

- name: Build Zhivo
run: |
chmod +x build.sh
./build.sh
- name: Build verification
run: |
ls dist -ral
find dist | sort | sed -e "s/[^-][^\/]*\// |/g" -e "s/|\([^ ]\)/|-\1/"
- name: Build test
run: |
./dist/zhivo

0 comments on commit 0025deb

Please sign in to comment.