Skip to content

Commit

Permalink
ymp build CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
sulincix committed May 10, 2024
1 parent 56247ba commit af2ea03
Showing 1 changed file with 23 additions and 3 deletions.
26 changes: 23 additions & 3 deletions .github/workflows/blank.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
workflow_dispatch:

jobs:
compile_x86:
compile_deb:
name: Create deb package (x86_86)
runs-on: ubuntu-latest
steps:
Expand All @@ -29,13 +29,33 @@ jobs:
mv ../*.deb /output/
mv ./*.deb /output/
release:
needs: [compile_x86]
compile_ymp:
name: Create deb package (x86_86)
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Run the build process with Docker
uses: addnab/docker-run-action@v3
with:
image: registry.gitlab.com/turkman/devel/assets/docker-images
options: -v ${{ github.workspace }}:/root -v /output:/output
run: |
mkdir -p /tmp/ymp-build/
ymp repo --update --ignore-gpg
ymp it bash git build-base --no-emerge
ymp build --unsafe /root --output=/output
release:
needs: [compile_deb, compile_ymp]
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Merge packages from build
run: |
mkdir -p /output/
cp -r /github/workspace/*/output/* /output/
- name: Create Release
uses: "marvinpinto/action-automatic-releases@latest"
with:
Expand Down

0 comments on commit af2ea03

Please sign in to comment.