compile_cosmic #11
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
name: compile_cosmic | |
on: | |
workflow_dispatch: | |
jobs: | |
compile: | |
runs-on: ubuntu-latest | |
container: | |
image: archlinux:latest | |
volumes: | |
- /:/host | |
steps: | |
- run: > | |
pacman --noconfirm -Syu | |
base-devel | |
cargo | |
clang | |
desktop-file-utils | |
git | |
gtk3 | |
gtk4 | |
just | |
libinput | |
libxkbcommon | |
llvm | |
mesa | |
meson | |
pipewire | |
pulseaudio | |
seatd | |
wayland | |
lld | |
expat | |
fontconfig | |
freetype2 | |
flatpak | |
nasm | |
- run: rm -rf /host/usr/local/lib/android # Free space | |
- run: git clone --recurse-submodules https://github.com/pop-os/cosmic-epoch | |
# - run: cd cosmic-epoch && git submodule update --remote && just sysext && rm -rf cosmic-sysext/usr/lib/extension-release.d | |
# - run: cd .. | |
- run: git clone --recurse-submodules https://github.com/pop-os/launcher | |
# - run: cd launcher && just build-release | |
# - run: cd .. | |
- uses: actions/upload-artifact@v4 | |
with: | |
# Name of the artifact to upload. | |
# Optional. Default is 'artifact' | |
name: cosmic-de | |
# A file, directory or wildcard pattern that describes what to upload | |
# Required. | |
path: | | |
/cosmic-epoch/cosmic-sysext/usr | |
/cosmic-epoch/cosmic-comp/config.ron | |
/cosmic-epoch/cosmic-greeter/cosmic-greeter.toml | |
/cosmic-epoch/cosmic-greeter/debian/cosmic-greeter.service | |
/launcher/target/release/pop-launcher-bin | |
/launcher/plugins/src/calc/plugin.ron | |
/launcher/plugins/src/cosmic_toplevel/plugin.ron | |
/launcher/plugins/src/desktop_entries/plugin.ron | |
/launcher/plugins/src/files/plugin.ron | |
/launcher/plugins/src/find/plugin.ron | |
/launcher/plugins/src/pulse/plugin.ron | |
/launcher/plugins/src/recent/plugin.ron | |
/launcher/plugins/src/scripts/plugin.ron | |
/launcher/plugins/src/terminal/plugin.ron | |
/launcher/plugins/src/web/plugin.ron | |
# The desired behavior if no files are found using the provided path. | |
# Available Options: | |
# warn: Output a warning but do not fail the action | |
# error: Fail the action with an error message | |
# ignore: Do not output any warnings or errors, the action does not fail | |
# Optional. Default is 'warn' | |
if-no-files-found: warn | |
# Duration after which artifact will expire in days. 0 means using default retention. | |
# Minimum 1 day. | |
# Maximum 90 days unless changed from the repository settings page. | |
# Optional. Defaults to repository settings. | |
retention-days: 30 | |
# The level of compression for Zlib to be applied to the artifact archive. | |
# The value can range from 0 to 9. | |
# For large files that are not easily compressed, a value of 0 is recommended for significantly faster uploads. | |
# Optional. Default is '6' | |
compression-level: 3 | |
# If true, an artifact with a matching name will be deleted before a new one is uploaded. | |
# If false, the action will fail if an artifact for the given name already exists. | |
# Does not fail if the artifact does not exist. | |
# Optional. Default is 'false' | |
overwrite: true |