Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github action for autoconf #1660

Merged
merged 5 commits into from
Jul 29, 2024
Merged
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
10 changes: 5 additions & 5 deletions .github/workflows/dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: install dependencies
run: sudo apt-get install openssl libssl-dev
run: sudo apt-get update && sudo apt-get install openssl libssl-dev
- uses: actions/cache@v4
id: tcl-cache
with:
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
with:
path: 'eggdrop'
- name: install dependencies
run: sudo apt-get install tcl tcl-dev
run: sudo apt-get update && sudo apt-get install tcl tcl-dev
- uses: actions/cache@v4
id: ssl-cache
with:
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
with:
path: 'eggdrop'
- name: install dependencies
run: sudo apt-get install tcl tcl-dev
run: sudo apt-get update && sudo apt-get install tcl tcl-dev
- uses: actions/cache@v4
id: ssl-cache
with:
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:
run: |
cd $GITHUB_WORKSPACE/openssl && ./config --prefix=$HOME/ssl && make -j4 && make install_sw
- name: install dependencies
run: sudo apt-get install tcl tcl-dev
run: sudo apt-get update && sudo apt-get install tcl tcl-dev
- uses: actions/checkout@v4
with:
path: 'eggdrop'
Expand Down Expand Up @@ -158,7 +158,7 @@ jobs:
with:
path: 'eggdrop'
- name: install dependencies
run: sudo apt-get install tcl tcl-dev
run: sudo apt-get update && sudo apt-get install tcl tcl-dev
- name: Build
run: |
cd $GITHUB_WORKSPACE/eggdrop
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/make.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: install dependencies
run: sudo apt-get install clang tcl tcl-dev openssl libssl-dev
run: sudo apt-get update && sudo apt-get install clang tcl tcl-dev openssl libssl-dev
- name: Build
env:
CC: ${{ matrix.cc }}
Expand All @@ -34,6 +34,6 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: install dependencies
run: sudo apt-get install tcl tcl-dev openssl libssl-dev
run: sudo apt-get update && sudo apt-get install tcl tcl-dev openssl libssl-dev
- name: Build
run: ./configure ${{ matrix.conf_tls }} ${{ matrix.conf_ipv6 }} ${{ matrix.conf_tdns }} && make config && make -j4
20 changes: 20 additions & 0 deletions .github/workflows/manual_autoconf.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Run and Commit autotools
on:
workflow_dispatch:
jobs:
run-script:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Install pre-requisites
run: sudo apt-get update && sudo apt-get install build-essential autoconf
- name: Run autotools
run: bash ./misc/runautotools
- name: Commit changes
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "[email protected]"
git commit -a -m "Run autotools"
git push origin develop

4 changes: 2 additions & 2 deletions .github/workflows/misc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: install dependencies
run: sudo apt-get install build-essential autoconf
run: sudo apt-get update && sudo apt-get install build-essential autoconf
- name: Stage configure with revision removed
run: |
for i in `find . -name configure`; do sed -i 's/From configure.ac .*//' $i; git add $i; done
Expand All @@ -34,7 +34,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: install dependencies
run: sudo apt-get install build-essential autoconf tcl-dev tcl openssl libssl-dev
run: sudo apt-get update && sudo apt-get install build-essential autoconf tcl-dev tcl openssl libssl-dev
- name: Run makedepend
run: misc/makedepend
- name: Check diff
Expand Down