-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
70 additions
and
9 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 |
---|---|---|
|
@@ -110,21 +110,51 @@ jobs: | |
key: tar-pine-${{ github.run_id }} | ||
|
||
- name: Deploy to partition | ||
run: sudo ./debos-docker -m 10G pinephone-unified.yaml | ||
run: sudo ./debos-docker -m 10G pinephone.yaml | ||
|
||
- name: Place output folder | ||
run: sudo mkdir -p builds/pine | ||
|
||
- name: Move to output folder and compress | ||
run: | | ||
sudo mv Rhino*unified.img builds/pine/ | ||
sudo xz -v builds/pine/Rhino*unified.img | ||
sudo mv Rhino*pinephone.img builds/pine/ | ||
sudo xz -v builds/pine/Rhino*pinephone.img | ||
echo "IMGPP=$(cd builds/pine; ls *.img.xz)" >> $GITHUB_ENV | ||
- uses: actions/[email protected] | ||
with: | ||
name: ${{ env.IMGPP }} | ||
path: builds/pine/${{ env.IMGPP }} | ||
|
||
deploy_pine_pro: | ||
needs: build_pine_tarball | ||
runs-on: buildjet-4vcpu-ubuntu-2204 | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
ref: 'pinephone' | ||
|
||
- uses: actions/[email protected] | ||
with: | ||
path: binary/ | ||
key: tar-pine-${{ github.run_id }} | ||
|
||
- name: Deploy to partition | ||
run: sudo ./debos-docker -m 10G pinephone-pro.yaml | ||
|
||
- name: Place output folder | ||
run: sudo mkdir -p builds/pine-pro | ||
|
||
- name: Move to output folder and compress | ||
run: | | ||
sudo mv Rhino*pro.img builds/pine-pro/ | ||
sudo xz -v builds/pine-pro/Rhino*pro.img | ||
echo "IMGPPP=$(cd builds/pine-pro; ls *.img.xz)" >> $GITHUB_ENV | ||
- uses: actions/[email protected] | ||
with: | ||
name: ${{ env.IMGPPP }} | ||
path: builds/pine-pro/${{ env.IMGPPP }} | ||
|
||
build_rpi_tarball: | ||
runs-on: buildjet-4vcpu-ubuntu-2204-arm | ||
|
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 |
---|---|---|
@@ -1,11 +1,11 @@ | ||
name: RL PinePhone Image Generation | ||
name: RL PinePhone Generation | ||
|
||
on: | ||
workflow_dispatch | ||
|
||
jobs: | ||
build_pine_tarball: | ||
runs-on: buildjet-8vcpu-ubuntu-2204-arm | ||
runs-on: buildjet-4vcpu-ubuntu-2204-arm | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
|
@@ -38,7 +38,7 @@ jobs: | |
|
||
deploy_pine: | ||
needs: build_pine_tarball | ||
runs-on: buildjet-8vcpu-ubuntu-2204 | ||
runs-on: buildjet-4vcpu-ubuntu-2204 | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
|
@@ -50,18 +50,49 @@ jobs: | |
key: tar-pine-${{ github.run_id }} | ||
|
||
- name: Deploy to partition | ||
run: sudo ./debos-docker -m 10G pinephone-unified.yaml | ||
run: sudo ./debos-docker -m 10G pinephone.yaml | ||
|
||
- name: Place output folder | ||
run: sudo mkdir -p builds/pine | ||
|
||
- name: Move to output folder and compress | ||
run: | | ||
sudo mv Rhino*unified.img builds/pine/ | ||
sudo xz -v builds/pine/Rhino*unified.img | ||
sudo mv Rhino*pinephone.img builds/pine/ | ||
sudo xz -v builds/pine/Rhino*pinephone.img | ||
echo "IMGPP=$(cd builds/pine; ls *.img.xz)" >> $GITHUB_ENV | ||
- uses: actions/[email protected] | ||
with: | ||
name: ${{ env.IMGPP }} | ||
path: builds/pine/${{ env.IMGPP }} | ||
|
||
deploy_pine_pro: | ||
needs: build_pine_tarball | ||
runs-on: buildjet-4vcpu-ubuntu-2204 | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
ref: 'pinephone' | ||
|
||
- uses: actions/[email protected] | ||
with: | ||
path: binary/ | ||
key: tar-pine-${{ github.run_id }} | ||
|
||
- name: Deploy to partition | ||
run: sudo ./debos-docker -m 10G pinephone-pro.yaml | ||
|
||
- name: Place output folder | ||
run: sudo mkdir -p builds/pine-pro | ||
|
||
- name: Move to output folder and compress | ||
run: | | ||
sudo mv Rhino*pro.img builds/pine-pro/ | ||
sudo xz -v builds/pine-pro/Rhino*pro.img | ||
echo "IMGPPP=$(cd builds/pine-pro; ls *.img.xz)" >> $GITHUB_ENV | ||
- uses: actions/[email protected] | ||
with: | ||
name: ${{ env.IMGPPP }} | ||
path: builds/pine-pro/${{ env.IMGPPP }} | ||
|