Skip to content

Commit

Permalink
Merge pull request #1 from OpenAxon/init-build-workflow
Browse files Browse the repository at this point in the history
chore (build.yml): initialize build workflow
  • Loading branch information
locmai authored Feb 8, 2023
2 parents 86837b3 + d8e9212 commit 6b69d22
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
### What this PR does / why we need it

### Which issue this PR fixes

*(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*

- fixes #

### Checklist
<!-- [Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.] -->
- [ ] README.md was updated
- [ ] Git commits were signed
37 changes: 37 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
name: "Build"

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

jobs:
build:
strategy:
matrix:
os: ["7", "bionic", "focal"]
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3"
- name: "Build for ${{ matrix.os }}"
run: |
export OS_VERSION=${{ matrix.os }}
make package
- name: Upload math result for job 1
uses: actions/upload-artifact@v3
with:
name: pkg
path: omnibus/pkg/*
list-packages:
needs: build
runs-on: "ubuntu-latest"
steps:
- name: Download packages from build job
uses: actions/download-artifact@v3
with:
name: pkg
- name: List packages
shell: bash
run: |
ls

0 comments on commit 6b69d22

Please sign in to comment.