Skip to content

Commit

Permalink
ci: install Wrapland from artifact
Browse files Browse the repository at this point in the history
The image does not contain any longer Wrapland. Instead install it directly from
the latest artifact.
  • Loading branch information
romangg committed Feb 20, 2024
1 parent 78fea8e commit 33569c2
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: MIT
name: Install Dependency via Artifact
description: Uses deb package from other workflow to install on Arch
description: Uses tar package from other workflow to install on Arch
inputs:
repo:
description: Path to repo where to download the dependency from
Expand Down Expand Up @@ -32,9 +32,5 @@ runs:
run: tar -xf ${{ inputs.dep-name }}.tar.gz
shell: bash
- name: Install
run: cp -r como/* /usr
shell: bash
- run: ls -l /usr/bin/minico
shell: bash
- run: ls -l /usr/include/como/base
run: cp -r ${{ inputs.dep-name }}/* /usr
shell: bash
23 changes: 23 additions & 0 deletions .github/actions/dep-artifacts/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# SPDX-FileCopyrightText: 2024 Roman Gilg <[email protected]>
# SPDX-License-Identifier: MIT
name: Specialized Install Dependency via Artifact
description: Calls into more generic dep-artifact-generic to install dependency
inputs:
secret:
description: Secret
required: true
runs:
using: "composite"
steps:
- name: Install Wrapland
uses: ./.github/actions/dep-artifact-generic
with:
repo: winft/wrapland
dep-name: wrapland
secret: ${{ inputs.secret }}
- name: Install The Compositor Modules
uses: ./.github/actions/dep-artifact-generic
with:
repo: winft/como
dep-name: como
secret: ${{ inputs.secret }}
7 changes: 2 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,9 @@ jobs:
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install como
uses: ./.github/actions/dep-artifact
- name: Install Dependencies
uses: ./.github/actions/dep-artifacts
with:
repo: winft/como
branch: master
dep-name: como
secret: ${{ secrets.GITHUB_TOKEN }}
- run: mkdir build
- name: Configure
Expand Down

0 comments on commit 33569c2

Please sign in to comment.