Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
k1LoW committed Mar 28, 2024
1 parent 6d84498 commit 6a2a4dc
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/test.yml
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

0 comments on commit 6a2a4dc

Please sign in to comment.