-
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from OpenAxon/init-build-workflow
chore (build.yml): initialize build workflow
- Loading branch information
Showing
2 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |