Fix: Do not check for lifespan yet #1070
Workflow file for this run
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: "Build Packages" | |
on: | |
push | |
jobs: | |
build_deb_debian_11: | |
name: "Build Debian Package" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
# Fetch the whole history for all tags and branches (required for aleph.__version__) | |
fetch-depth: 0 | |
- run: | | |
cd packaging && make all-podman-debian-11 && cd .. | |
ls packaging/target | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: aleph-vm.debian-11.deb | |
path: packaging/target/aleph-vm.debian-11.deb | |
build_deb_ubuntu_22_04: | |
name: "Build Ubuntu Package" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
# Fetch the whole history for all tags and branches (required for aleph.__version__) | |
fetch-depth: 0 | |
- run: | | |
cd packaging && make all-podman-ubuntu-2204 && cd .. | |
ls packaging/target | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: aleph-vm.ubuntu-22.04.deb | |
path: packaging/target/aleph-vm.ubuntu-22.04.deb | |
build_rootfs: | |
name: "Build runtime aleph-debian-11-python" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Workaround github issue https://github.com/actions/runner-images/issues/7192 | |
run: sudo echo RESET grub-efi/install_devices | sudo debconf-communicate grub-pc | |
- run: | | |
sudo apt update | |
sudo apt install -y debootstrap | |
cd runtimes/aleph-debian-11-python && sudo ./create_disk_image.sh && cd ../.. | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: aleph-debian-11-python.squashfs | |
path: runtimes/aleph-debian-11-python/rootfs.squashfs | |
build_example_venv_volume: | |
name: "Build example squashfs volume using Docker" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- run: | | |
docker build -t aleph-vm-build-squashfs -f examples/volumes/Dockerfile examples/volumes | |
docker run --rm -v "$(pwd)":/mnt aleph-vm-build-squashfs | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: example-volume-venv.squashfs | |
path: volume-venv.squashfs |