You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
name: C/C++ CI
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ main ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ main ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Install toolchain
|
|
|
|
run: |
|
|
|
|
wget -q https://developer.arm.com/-/media/Files/downloads/gnu-a/10.3-2021.07/binrel/gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf.tar.xz
|
|
|
|
tar xf gcc-arm-*-*.tar.xz
|
|
|
|
- name: Build circle-stdlib library
|
|
|
|
run: |
|
|
|
|
export PATH=$(readlink -f ./gcc-*/bin/):$PATH
|
|
|
|
cd circle-stdlib/
|
|
|
|
git submodule update --init
|
|
|
|
./configure -r 4 --prefix "aarch64-none-elf-"
|
|
|
|
( cd libs/circle ; git submodule update --init ) # FIXME: Find a way without the need for this
|
|
|
|
make -j$(nproc)
|
|
|
|
cd ..
|
|
|
|
- name: Build MiniDexed
|
|
|
|
run: |
|
|
|
|
make -j$(nproc)
|
|
|
|
ls *.img
|