Build #1
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" | |
on: | |
workflow_dispatch: | |
tags: | |
- "v*" | |
jobs: | |
tagged-release: | |
name: "Tagged Release" | |
runs-on: "ubuntu-latest" | |
steps: | |
# ... | |
- name: "Build & test" | |
run: | | |
sudo mount -n -t tmpfs -o uid=0,gid=0,mode=0755 cgroup /sys/fs/cgroup | |
sudo apt update | |
sudo apt -y install build-essential clang flex bison g++ gawk \ | |
gcc-multilib g++-multilib gettext git libncurses-dev libssl-dev \ | |
python3-distutils rsync unzip zlib1g-dev file wget libuuid-perl lxc \ | |
python3-software-properties | |
- name: "Download and install DAB" | |
run: | | |
wget http://download.proxmox.com/debian/dists/bookworm/pve-no-subscription/binary-amd64/dab_3.5.0_all.deb | |
sudo dpkg -i dab* | |
- name: Git Clone Reposytory | |
run: | | |
git clone https://github.com/mikysal78/debian-12-bookworm-min-amd64.git bookworm | |
mv bookworm/* . | |
- name: Show info repo | |
run: | | |
echo "sono nella directory" | |
pwd | |
echo "Questi sono i files" | |
ls -la | |
- name: Compile | |
run: | | |
sudo make | |
- uses: "marvinpinto/action-automatic-releases@latest" | |
with: | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
prerelease: false | |
files: | | |
debian-12-minimal_12.7_amd64.tar.zst |