Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/install-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
Build-install-ubuntu:
runs-on:
group: Default
labels: ubuntu18
labels: ubuntu20
steps:
- name: Check out repository code, branch='${{ github.ref }}'
uses: actions/checkout@v2
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/pkg-build-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,16 @@ jobs:
steps:
- name: Check out code
uses: actions/checkout@v2

- name: Create required directories
run: mkdir -p /tmp/${{ github.sha }}

- name: CentOS 7 - Package build
run: sudo docker run --rm okynos/fim-builder:centos7 ${{ github.ref_name }}
run: sudo docker run --rm docker.io/okynos/fim-builder:centos7 ${{ github.ref_name }}

- name: Clean test output
if: always()
run: sudo rm -rf /tmp/${{ github.sha }}

Pkg-build-macos:
runs-on: macos-latest
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/ubuntu-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,28 @@ jobs:
- name: Check out code
uses: actions/checkout@v2

- name: Create required directories
run: mkdir -p /tmp/${{ github.sha }}

- name: Ubuntu 16.04 - Package build
run: sudo docker run -v /tmp/${{ github.sha }}:/tmp/output --rm okynos/fim-builder:xenial ${{ github.ref_name }}
run: sudo docker run -v /tmp/${{ github.sha }}:/tmp/output --rm docker.io/okynos/fim-builder:xenial ${{ github.ref_name }}

- name: Archive output package
uses: actions/upload-artifact@v4
with:
name: fim_${{ github.sha }}_amd64.deb
path: /tmp/${{ github.sha }}/fim*.deb
retention-days: 5

- name: Clean test output
if: always()
run: sudo rm -rf /tmp/${{ github.sha }}

Audit_tests:
needs: Package_build
runs-on:
group: Default
labels: ubuntu18
labels: ubuntu20

steps:
- name: Check out repository code, branch='${{ github.ref }}'
Expand Down
Loading