ci: Add a github build action
This commit is contained in:
19
.github/workflows/build.yml
vendored
Normal file
19
.github/workflows/build.yml
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
name: Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Install dependencies
|
||||
run: sudo ci/install.sh
|
||||
|
||||
- name: Build
|
||||
run: ci/build.sh
|
||||
25
.github/workflows/build.yml~
vendored
Normal file
25
.github/workflows/build.yml~
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
name: Build and test
|
||||
|
||||
# on: [workflow_dispatch]
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- V5-9-patches
|
||||
|
||||
jobs:
|
||||
build_and_test:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: install required packages
|
||||
run: sudo ci/install.sh
|
||||
|
||||
- name: build
|
||||
run: ci/build.sh
|
||||
|
||||
- name: test
|
||||
run: ci/test.sh
|
||||
Reference in New Issue
Block a user