Add apt update to CI

This commit is contained in:
Aren Elchinyan 2025-01-09 15:16:43 +03:00
parent 4a993fb96a
commit f4801f96dc
2 changed files with 5 additions and 2 deletions

View File

@ -14,8 +14,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: configure
run: sudo apt install gcc build-essential grub2-common qemu-system-x86 xorriso mtools
run: |
sudo apt update
sudo apt install gcc build-essential grub2-common qemu-system-x86 xorriso mtools
- name: make
run: make
- name: run and test
run: make test
run: make clean && make && make test

View File

@ -29,6 +29,7 @@ serial.log: cis-os.iso
test: serial.log
cat $<
ls
grep -q '\[OK\]' $< && echo "Test passed." || (echo "Test failed." && exit 1)
run: cis-os.iso