-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: test | ||
on: | ||
push: | ||
|
||
jobs: | ||
test: | ||
name: test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out source code | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Build | ||
uses: k1LoW/run-on-container@main | ||
with: | ||
run: | | ||
yum remove git* | ||
yum -y install epel-release centos-release-scl | ||
yum -y groupinstall "Development Tools" | ||
yum -y install wget perl-CPAN gettext-devel perl-devel openssl-devel zlib-devel curl curl-devel expat-devel getopt asciidoc xmlto docbook2X devtoolset-11 | ||
ln -s /usr/bin/db2x_docbook2texi /usr/bin/docbook2x-texi | ||
export GIT_VER="v2.44.0" | ||
wget https://github.com/git/git/archive/${GIT_VER}.tar.gz | ||
tar -xvf ${GIT_VER}.tar.gz | ||
rm -f ${GIT_VER}.tar.gz | ||
cd git-* | ||
source scl_source enable devtoolset-11 | ||
make configure | ||
./configure --prefix=/usr | ||
make | ||
make install | ||
git config --global --add safe.directory $WORKSPACE | ||
image: centos:7 | ||
platform: linux/arm64 | ||
shell: bash |