From 0cb6ee3bc4e52dd5ae98f46e86ad3ecb83318a04 Mon Sep 17 00:00:00 2001 From: Ryan Brue Date: Sat, 17 Feb 2024 00:51:00 -0600 Subject: [PATCH] Remove compile job --- ...ild-fedora-cosmic-atomic.yml => build.yml} | 0 .github/workflows/compile_cosmic.yml | 96 ------------------- containers/compile-cosmic/Containerfile | 46 --------- containers/compile-cosmic/desc.yml | 5 - 4 files changed, 147 deletions(-) rename .github/workflows/{build-fedora-cosmic-atomic.yml => build.yml} (100%) delete mode 100644 .github/workflows/compile_cosmic.yml delete mode 100644 containers/compile-cosmic/Containerfile delete mode 100644 containers/compile-cosmic/desc.yml diff --git a/.github/workflows/build-fedora-cosmic-atomic.yml b/.github/workflows/build.yml similarity index 100% rename from .github/workflows/build-fedora-cosmic-atomic.yml rename to .github/workflows/build.yml diff --git a/.github/workflows/compile_cosmic.yml b/.github/workflows/compile_cosmic.yml deleted file mode 100644 index 8f4a06a..0000000 --- a/.github/workflows/compile_cosmic.yml +++ /dev/null @@ -1,96 +0,0 @@ -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 .. - - run: mv cosmic-epoch /cosmic-epoch - - run: mv launcher /launcher - - 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 \ No newline at end of file diff --git a/containers/compile-cosmic/Containerfile b/containers/compile-cosmic/Containerfile deleted file mode 100644 index 8dee793..0000000 --- a/containers/compile-cosmic/Containerfile +++ /dev/null @@ -1,46 +0,0 @@ -ARG IMAGE_MAJOR_VERSION=39 -FROM registry.fedoraproject.org/fedora:${IMAGE_MAJOR_VERSION} - -RUN dnf update -y -RUN dnf install -y git \ - make \ - which \ - just \ - rustc \ - libglvnd-devel \ - libseat-devel \ - libxkbcommon-devel \ - lld \ - libinput-devel \ - glib2-devel \ - gtk3-devel \ - dbus-devel \ - wayland-devel \ - clang-devel \ - cargo \ - mesa-libgbm-devel \ - pipewire-devel \ - pam-devel \ - flatpak-devel \ - rust-rav1e+nasm-rs-devel -RUN git clone --recurse-submodules https://github.com/pop-os/cosmic-epoch -# This is where the magic happens -RUN cd cosmic-epoch && git submodule update --remote && just sysext && rm -rf cosmic-sysext/usr/lib/extension-release.d - -RUN cd .. - -RUN dnf update -y -RUN dnf install -y git \ - just \ - rustc \ - cargo \ - libglvnd-devel \ - libxkbcommon-devel -RUN git clone --recurse-submodules https://github.com/pop-os/launcher -RUN cd launcher && just build-release - -RUN cd .. - -# RUN dnf update -y -# RUN dnf install -y git -# RUN git clone --recurse-submodules https://github.com/pop-os/system76-wallpapers diff --git a/containers/compile-cosmic/desc.yml b/containers/compile-cosmic/desc.yml deleted file mode 100644 index 984addb..0000000 --- a/containers/compile-cosmic/desc.yml +++ /dev/null @@ -1,5 +0,0 @@ -title: Fedora w/ COSMIC Compiled -name: fedora-cosmic-artifacts -description: Not intended for atomic desktop use. Fedora image with COSMIC artifacts. -image-registry: ghcr.io -image-version: 39 \ No newline at end of file