Skip to content

Commit

Permalink
Add github action to perform autoconf
Browse files Browse the repository at this point in the history
  • Loading branch information
thommey authored Jul 29, 2024
1 parent 12a03b6 commit 69e6e6c
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 9 deletions.
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

0 comments on commit 69e6e6c

Please sign in to comment.