Update test.yml #9
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: C/C++ CI | |
on: | |
push: | |
branches: [ "linux-rolling-stable" ] | |
pull_request: | |
branches: [ "linux-rolling-stable" ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: make file | |
run: dd if=/dev/zero of=umlfs bs=1 count=0 seek=1G | |
- name: create filesystem | |
run: mkfs -t ext4 -F umlfs | |
- name: debootstrap directory | |
run: mkdir debootstrap | |
- name: mount filesystem | |
run: sudo mount -o loop,rw umlfs debootstrap | |
- name: install debootstrap | |
run: sudo apt-get install debootstrap | |
- name: debootstrap | |
run: sudo debootstrap --variant=minbase bookworm debootstrap/ |