Skip to content

Fix incorrect library output path in Makefile #3

Fix incorrect library output path in Makefile

Fix incorrect library output path in Makefile #3

name: Build Toolchain
on:
push:
branches:
- main
paths:
- 'Tools/Makefile'
- 'Tools/*.mk'
- '.github/workflows/i386-toolchain-build.yml'
jobs:
build-toolchain:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install Dependencies
run: |
sudo apt update
sudo apt install -y make bison flex mtools libgmp3-dev libmpc-dev libmpfr-dev texinfo libisoburn-dev
- name: Build Toolchain
working-directory: Tools
run: make
- name: Create ZIP Archive
run: |
YEAR=$(date +'%Y')
MONTH=$(date +'%m')
zip -r "i386-toolchain-bin.${YEAR}.${MONTH}.zip" . -x Makefile *.mk check-deps.archlinux.sh
working-directory: Tools
- name: Upload Toolchain Archive
uses: actions/upload-artifact@v4
with:
name: i386-toolchain-bin
path: Tools/i386-toolchain-bin.*.zip
- name: Build Floppy Image
working-directory: Source
run: make floppy
- name: Upload Floppy Image
uses: actions/upload-artifact@v4
with:
name: free86-floppy
path: Build/Kickstart.img