Skip to content

Commit

Permalink
far2l-2.6.3 (#115)
Browse files Browse the repository at this point in the history
still use v3 actions on ubuntu 18.04
  • Loading branch information
hemnstill authored Aug 9, 2024
1 parent 6d02602 commit 41b8013
Show file tree
Hide file tree
Showing 8 changed files with 77 additions and 13 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build-ubuntu-unsecure.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
on:
workflow_call:
inputs:
workflow:
required: true
type: string
toolset:
required: false
type: string
default: 'gnu'
version:
required: false
type: string
default: '20.04'

jobs:
build-ubuntu:
runs-on: ubuntu-latest
container: ubuntu:${{ inputs.version }}
env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
steps:
- uses: actions/checkout@v3
- name: build ${{ inputs.workflow }}-ubuntu-${{ inputs.toolset }}
run: |
./${{ inputs.workflow }}/build_${{ inputs.toolset }}.sh
- uses: actions/upload-artifact@v3
with:
name: build-${{ inputs.toolset }}
path: ./${{ inputs.workflow }}/release/build-${{ inputs.toolset }}.tar.gz
10 changes: 5 additions & 5 deletions .github/workflows/far2l.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,30 +12,30 @@ jobs:

ubuntu-glibc:
if: ${{ vars.CURRENT_TOOL == github.workflow }}
uses: ./.github/workflows/build-ubuntu.yml
uses: ./.github/workflows/build-ubuntu-unsecure.yml
with:
workflow: ${{ github.workflow }}
version: 18.04
toolset: glibc

ubuntu-glibc-p:
if: ${{ vars.CURRENT_TOOL == github.workflow }}
uses: ./.github/workflows/build-ubuntu.yml
uses: ./.github/workflows/build-ubuntu-unsecure.yml
with:
workflow: ${{ github.workflow }}
version: 18.04
toolset: glibc-p

test-ubuntu:
needs: ubuntu-glibc
uses: ./.github/workflows/test-ubuntu.yml
uses: ./.github/workflows/test-ubuntu-unsecure.yml
with:
workflow: ${{ github.workflow }}
artifact: build-glibc

test-ubuntu-p:
needs: ubuntu-glibc-p
uses: ./.github/workflows/test-ubuntu.yml
uses: ./.github/workflows/test-ubuntu-unsecure.yml
with:
workflow: ${{ github.workflow }}
artifact: build-glibc-p
Expand All @@ -54,7 +54,7 @@ jobs:
uses: ./.github/workflows/release.yml
with:
workflow: ${{ github.workflow }}
tool_version: '2.5.3'
tool_version: '2.6.3'
prepare_body: |
bsdtar -Oxf ./build-musl/build-musl.tar.gz build-musl.md >> body.md
bsdtar -Oxf ./build-glibc/build-glibc.tar.gz build-glibc.md >> body.md
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ on:
jobs:
release:
runs-on: ubuntu-latest
container: ubuntu:latest
steps:
- run: |
apt update -y
apt install -y libarchive-tools
sudo apt update -y
sudo apt install -y libarchive-tools
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
- run: ${{ inputs.prepare_body }}
- uses: ncipollo/release-action@v1
with:
tag: ${{ inputs.workflow }}-${{ inputs.tool_version }}
tag: "${{ inputs.workflow }}-${{ inputs.tool_version }}"
bodyFile: './body.md'
artifacts: ${{ inputs.artifacts }}
allowUpdates: true
Expand Down
33 changes: 33 additions & 0 deletions .github/workflows/test-ubuntu-unsecure.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
on:
workflow_call:
inputs:
workflow:
required: true
type: string
artifact:
required: true
type: string
version:
required: false
type: string
default: 'latest'

jobs:
test-ubuntu:
runs-on: ubuntu-latest
container: ubuntu:${{ inputs.version }}
env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
with:
name: ${{ inputs.artifact }}
path: .

- name: Test ${{ inputs.artifact }} build on ubuntu:${{ inputs.version }}
run: |
tar -xf ./${{ inputs.artifact }}.tar.gz -C ./bin
cd ./${{ inputs.workflow }}
./test_linux.sh
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
| [![GitHub release (by tag)](https://img.shields.io/github/downloads/hemnstill/StandaloneTools/mysql-8.4.0/total?label=⭳%20mysql-8.4.0)](https://github.com/hemnstill/StandaloneTools/releases/tag/mysql-8.4.0) | [![GitHub Repo stars](https://img.shields.io/github/stars/mysql/mysql-server?style=social&label=mysql-server)](https://github.com/mysql/mysql-server) [![latest packaged version(s)](https://repology.org/badge/latest-versions/mysql.svg)](https://repology.org/project/mysql/information) |
| [![GitHub release (by tag)](https://img.shields.io/github/downloads/hemnstill/StandaloneTools/redis-7.2.4/total?label=⭳%20redis-7.2.4)](https://github.com/hemnstill/StandaloneTools/releases/tag/redis-7.2.4) | [![GitHub Repo stars](https://img.shields.io/github/stars/redis/redis?style=social&label=redis)](https://github.com/redis/redis) [![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/redis/redis)](https://redis.io/download/) |
| [![GitHub release (by tag)](https://img.shields.io/github/downloads/hemnstill/StandaloneTools/busybox-1.37.0-FRP-5398/total?label=⭳%20busybox-1.37.0-FRP-5398)](https://github.com/hemnstill/StandaloneTools/releases/tag/busybox-1.37.0-FRP-5398) | [![GitHub Repo stars](https://img.shields.io/github/stars/rmyorston/busybox-w32?style=social&label=busybox-w32)](https://github.com/rmyorston/busybox-w32) [![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/rmyorston/busybox-w32)](https://frippery.org/busybox/release-notes/current.html) [![latest packaged version(s)](https://repology.org/badge/latest-versions/busybox.svg)](https://repology.org/project/busybox/information) |
| [![GitHub release (by tag)](https://img.shields.io/github/downloads/hemnstill/StandaloneTools/far2l-2.5.3/total?label=⭳%20far2l-2.5.3)](https://github.com/hemnstill/StandaloneTools/releases/tag/far2l-2.5.3) | [![GitHub Repo stars](https://img.shields.io/github/stars/elfmz/far2l?style=social&label=far2l)](https://github.com/elfmz/far2l) [![GitHub release (latest by date including pre-releases)](https://img.shields.io/github/v/release/elfmz/far2l)](https://github.com/elfmz/far2l/releases/latest) |
| [![GitHub release (by tag)](https://img.shields.io/github/downloads/hemnstill/StandaloneTools/far2l-2.6.3/total?label=⭳%20far2l-2.6.3)](https://github.com/hemnstill/StandaloneTools/releases/tag/far2l-2.6.3) | [![GitHub Repo stars](https://img.shields.io/github/stars/elfmz/far2l?style=social&label=far2l)](https://github.com/elfmz/far2l) [![GitHub release (latest by date including pre-releases)](https://img.shields.io/github/v/release/elfmz/far2l)](https://github.com/elfmz/far2l/releases/latest) |
| [![GitHub release (by tag)](https://img.shields.io/github/downloads/hemnstill/StandaloneTools/pcre2grep-10.44/total?label=⭳%20pcre2grep-10.44)](https://github.com/hemnstill/StandaloneTools/releases/tag/pcre2grep-10.44) | [![GitHub Repo stars](https://img.shields.io/github/stars/PCRE2Project/pcre2?style=social&label=PCRE2)](https://github.com/PCRE2Project/pcre2) [![GitHub release (latest by date including pre-releases)](https://img.shields.io/github/v/release/PCRE2Project/pcre2)](https://github.com/PCRE2Project/pcre2/releases/latest) |
| [![GitHub release (by tag)](https://img.shields.io/github/downloads/hemnstill/StandaloneTools/openssl-3.0.9/total?label=⭳%20openssl-3.0.9)](https://github.com/hemnstill/StandaloneTools/releases/tag/openssl-3.0.9) | [![GitHub Repo stars](https://img.shields.io/github/stars/openssl/openssl?style=social&label=OpenSSL)](https://github.com/openssl/openssl) [![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/openssl/openssl)](https://www.openssl.org/news/changelog.html) |

Expand Down
2 changes: 1 addition & 1 deletion far2l/build_glibc-p.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ apt install -y \
echo "::endgroup::"

tool_name="far2l"
tool_version="2.5.3"
tool_version="2.6.3"
self_name="$tool_name-$tool_version"
self_toolset_name="build-glibc-p"
self_url="https://github.com/hemnstill/StandaloneTools/releases/download/$self_name/$self_toolset_name.tar.gz"
Expand Down
2 changes: 1 addition & 1 deletion far2l/build_glibc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ apt install -y \
echo "::endgroup::"

tool_name="far2l"
tool_version="2.5.3"
tool_version="2.6.3"
self_name="$tool_name-$tool_version"
self_toolset_name="build-glibc"
self_url="https://github.com/hemnstill/StandaloneTools/releases/download/$self_name/$self_toolset_name.tar.gz"
Expand Down
2 changes: 1 addition & 1 deletion far2l/build_musl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ apk add --no-cache \
echo "::endgroup::"

tool_name="far2l"
tool_version="2.5.3"
tool_version="2.6.3"
self_name="$tool_name-$tool_version"
self_toolset_name="build-musl"
self_url="https://github.com/hemnstill/StandaloneTools/releases/download/$self_name/$self_toolset_name.tar.gz"
Expand Down

0 comments on commit 41b8013

Please sign in to comment.