Skip to content

Commit

Permalink
Add GitHub workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ThexXTURBOXx committed Mar 20, 2024
1 parent 64aeac9 commit 330373d
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 1 deletion.
40 changes: 40 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Build

on:
push:
pull_request:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
container: ghcr.io/cross-rs/aarch64-unknown-linux-gnu:main
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: recursive

- name: Install wget
run: apt install -y wget

- name: Initialize circle
run: ./init.sh

- name: Initialize circle
run: |
./compile.sh 1 780000 kernel8-adesto-512
./compile.sh 1 1560000 kernel8-adesto-256
./compile.sh 1 3120000 kernel8-adesto-128
./compile.sh 1 6240000 kernel8-adesto-64
./compile.sh 2 780000 kernel8-fujitsu-512
./compile.sh 2 1560000 kernel8-fujitsu-256
./compile.sh 2 3120000 kernel8-fujitsu-128
./compile.sh 2 6240000 kernel8-fujitsu-64
./compile.sh 2 12480000 kernel8-fujitsu-32
- name: Upload boot files
uses: actions/upload-artifact@v4
with:
name: Boot Files
path: boot/*
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
stages:
- build

image: ghcr.io/cross-rs/aarch64-unknown-linux-gnu
image: ghcr.io/cross-rs/aarch64-unknown-linux-gnu:main

Build:
stage: build
Expand Down

0 comments on commit 330373d

Please sign in to comment.