-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
packages: drop Ubuntu/debian package build
Signed-off-by: Gonçalo Negrier Duarte <[email protected]>
- Loading branch information
1 parent
cba5b70
commit a72a5f2
Showing
4 changed files
with
9 additions
and
80 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -174,80 +174,7 @@ jobs: | |
run: ./deploy/build_containers.sh | ||
shell: bash | ||
|
||
build-test-commit-debs: | ||
needs: [test-in-docker-container] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
fetch-depth: 0 | ||
|
||
- name: Check if tagged | ||
id: check_if_tagged | ||
run: | | ||
otag=$(git tag --points-at HEAD) | ||
echo "Tag is ${otag}" | ||
if [ -z "$otag" ] | ||
then | ||
hastag=0 | ||
else | ||
hastag=1 | ||
fi | ||
echo "hastag=$hastag" >> $GITHUB_OUTPUT | ||
- name: Update submodules | ||
run: | | ||
git submodule update --init | ||
git pull --recurse-submodules | ||
git submodule update --remote --recursive | ||
shell: bash | ||
|
||
- name: Install Dependencies | ||
run: ./deploy/dependencies/install_dependencies_ubuntu.sh | ||
shell: bash | ||
|
||
- name: Build deb darkdetect | ||
run: ./deploy/build_packages/build_deb_darkdetect.sh | ||
shell: bash | ||
|
||
- name: Build pkgs LenovoLegionLinux | ||
run: | | ||
./deploy/build_packages/build_deb_LLL.sh | ||
shell: bash | ||
|
||
- name: Import GPG key | ||
uses: crazy-max/ghaction-import-gpg@v5 | ||
with: | ||
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} | ||
|
||
- name: Copy and Generate files - Ubuntu | ||
run: | | ||
cd package_repo/ubuntu | ||
gpg --armor --export "${{ secrets.GPG_ID }}" > ./KEY.gpg | ||
dpkg-scanpackages --multiversion . > Packages | ||
gzip -k -f Packages | ||
apt-ftparchive release . > Release | ||
gpg --default-key "${{ secrets.GPG_ID }}" -abs -o - Release > Release.gpg | ||
gpg --default-key "${{ secrets.GPG_ID }}" --clearsign -o - Release > InRelease | ||
echo "deb [signed-by=/usr/share/keyrings/lll-ppa.gpg] https://johnfanv2.github.io/LenovoLegionLinux/package_repo/ubuntu ./" > lll-ppa.list | ||
shell: bash | ||
|
||
- name: Commit changes | ||
if: steps.check_if_tagged.outputs.hastag == 1 | ||
run: | | ||
git fetch | ||
git add -A | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
git commit -m "Add new debs" | ||
git pull --rebase | ||
git push | ||
shell: bash | ||
|
||
test-packages: | ||
needs: [build-test-commit-debs] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
|
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
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
sudo curl https://ftp.de.debian.org/debian/pool/contrib/l/lenovolegionlinux/lenovolegionlinux-dkms_0.0.10+ds-2_amd64.deb -o /tmp/lenovolegionlinux-dkms_0.0.10+ds-2_amd64.deb | ||
sudo curl https://ftp.de.debian.org/debian/pool/contrib/l/lenovolegionlinux/python3-legion-linux_0.0.10+ds-2_all.deb -o /tmp/python3-legion-linux_0.0.10+ds-2_all.deb | ||
sudo curl https://ftp.de.debian.org/debian/pool/contrib/l/lenovolegionlinux/lenovolegionlinux-dkms_0.0.10+ds-2_amd64.deb -o /tmp/legiond_0.0.10+ds-2_amd64.deb | ||
|
||
sudo apt install /tmp/lenovolegionlinux-dkms_0.0.10+ds-2_amd64.deb | ||
sudo apt install /tmp/python3-legion-linux_0.0.10+ds-2_all.deb | ||
sudo apt install /tmp/legiond_0.0.10+ds-2_amd64.deb | ||
|