-
Notifications
You must be signed in to change notification settings - Fork 0
56 lines (41 loc) · 1.12 KB
/
build-i686.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: Build for i686
on:
push:
branches: [ main ]
pull_request:
branches: [ '*' ]
jobs:
build:
strategy:
matrix:
cc: [gcc, clang]
runs-on: ubuntu-latest
env:
MAKE: make CC="${{ matrix.cc }} -Werror"
steps:
- name: Install dependencies
run: sudo apt update && sudo apt-get install -y gcc-multilib grub-common nasm qemu-system-x86 xorriso
- uses: actions/checkout@v4
with:
submodules: recursive
- name: configure
run: ./configure
- name: make
run: ${{ env.MAKE }}
- name: libjinue
run: ${{ env.MAKE }} libjinue
- name: make testapp
run: ${{ env.MAKE }} testapp
- name: make qemu
run: ${{ env.MAKE }} qemu
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: artifact-${{ matrix.cc }}
path: |
kernel/interface/i686/jinue
userspace/lib/jinue/libjinue-syscalls.a
userspace/lib/jinue/libjinue-utils.a
userspace/testapp/jinue-testapp-initrd.tar.gz
- name: make qemu-check
run: ${{ env.MAKE }} qemu-check