Your ROOT_URL in app.ini is https://source.parasitstudio.de:63000/ but you are visiting https://source.parasitstudio.de/wirtz/MiniDexed/blame/commit/8263ff4b767e2ee0ed0c2d52cfd38b6517125573/.github/workflows/build.yml You should set ROOT_URL correctly, otherwise the web may not work correctly.
MiniDexed/.github/workflows/build.yml

43 lines
1.3 KiB

3 years ago
name: C/C++ CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-20.04
3 years ago
steps:
- uses: actions/checkout@v2
- name: Recursively pull git submodules
run: |
git submodule update --init --recursive
3 years ago
- 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
3 years ago
tar xf gcc-arm-*-*.tar.xz
- name: Build circle-stdlib library
run: |
3 years ago
export PATH=$(readlink -f ./gcc-*/bin/):$PATH
3 years ago
cd circle-stdlib/
# git submodule update --init --recursive
3 years ago
./configure -r 4 --prefix "aarch64-none-elf-"
# ( cd libs/circle ; git submodule update --init --recursive ) # FIXME: Find a way without the need for this
3 years ago
make -j$(nproc)
cd ..
- name: Build MiniDexed
run: |
export PATH=$(readlink -f ./gcc-*/bin/):$PATH
cd src
3 years ago
make -j$(nproc)
ls *.img
- name: Upload to GitHub Releases (only when building from main branch)
if: ${{ github.ref == 'refs/heads/main' }}
run: |
wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
bash ./upload.sh ./src/*img