Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
85 changes: 85 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
name: CI

on:
push:
branches: [ '*' ]
pull_request:
branches: [ '*' ]
jobs:
# build-macos:
# runs-on: macos-latest
# strategy:
# fail-fast: false

# steps:
# - uses: actions/checkout@v4

# - name: required packags
# run: brew install make gnu-sed

# - name: fix path for gmake
# run: GITHUB_PATH="/opt/homebrew/opt/make/libexec/gnubin:$GITHUB_PATH"

# - name: fix path for sed
# run: GITHUB_PATH="/opt/homebrew/opt/gnu-sed/libexec/gnubin:$GITHUB_PATH"

# - name: show path
# run: echo $GITHUB_PATH

# # - name: remove current autoconf and automake
# # run: brew uninstall autoconf automake

# - name: get autoconf
# run: wget https://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz

# - name: get automake
# run: wget https://ftp.gnu.org/gnu/automake/automake-1.15.1.tar.gz

# - name: extract autoconf
# run: tar -xvzf autoconf-2.69.tar.gz

# - name: extract automake
# run: tar -xvzf automake-1.15.1.tar.gz

# - name: build autoconf
# run: cd autoconf-2.69;./configure;make;sudo make install

# - name: build automake
# run: cd automake-1.15.1;./configure;make;sudo make install

# - name: build
# run: sh build-newlib.sh

build-ubuntu:
runs-on: ubuntu-latest
strategy:
fail-fast: false

steps:
- uses: actions/checkout@v4

- name: remove current autoconf and automake
run: sudo apt remove autoconf automake

- name: get autoconf
run: wget https://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz

- name: get automake
run: wget https://ftp.gnu.org/gnu/automake/automake-1.15.1.tar.gz

- name: extract autoconf
run: tar -xvzf autoconf-2.69.tar.gz

- name: extract automake
run: tar -xvzf automake-1.15.1.tar.gz

- name: build autoconf
run: cd autoconf-2.69;./configure;make;sudo make install

- name: build automake
run: cd automake-1.15.1;./configure;make;sudo make install

- name: build
run: sh build-newlib.sh


4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,7 @@ modules.order
Module.symvers
Mkfile.old
dkms.conf

# newlib
newlib-*