-
Notifications
You must be signed in to change notification settings - Fork 6
43 lines (42 loc) · 1.48 KB
/
main.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
name: Tests
# This workflow is triggered on pushes to the repository.
on: [push]
jobs:
build-unix:
name: Linux Test
runs-on: ubuntu-18.04
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Update Package respository
run: sudo apt-get -y -o Acquire::Check-Valid-Until=false update
- name: Install Packages
run: sudo apt-get install -y --no-install-recommends git wget nasm qemu-system-x86 mtools xorriso grub-common grub-pc-bin grub-efi-amd64-bin grub-efi-ia32-bin
- name: Set Permissions
run: chmod +x $GITHUB_WORKSPACE/abctl
- name: Configure
run: $GITHUB_WORKSPACE/abctl configure cloud-test
- name: Build
run: $GITHUB_WORKSPACE/abctl build all
- name: Test
run: $GITHUB_WORKSPACE/abctl test cloud
build-mswin:
name: Windows Test
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v1
with:
submodules: recursive
#- uses: crazy-max/ghaction-chocolatey@v1
- name: Configure
# TODO: change dir in bat file
#run: "external/MOSA-Project/Source/Compile.bat"
run: "./Compile.bat"
working-directory: external/MOSA-Project/Source
- name: Build Assemblies
run: "./build.bat"
- name: Build Binaries
run: bin/Abanu.Tools.Build.exe build --native --bin=all --image
- name: Test
run: bin/Abanu.Tools.Build.exe run --emulator=qemu --boot=direct --test