Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
linyows authored Jul 11, 2024
1 parent 6b45ad8 commit ae3cccc
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,20 +39,20 @@ jobs:
- name: Build and Install
run: |
make build install
centos:
name: Build on ${{matrix.container }}
runs-on: ubuntu-latest
container: ${{ matrix.container }}
strategy:
matrix:
container: ['centos:7']
steps:
- uses: actions/checkout@v2
- name: Install packages
run: |
grep "8." /etc/centos-release && \
sed -i -e 's/^mirrorlist/#mirrorlist/g' -e 's/^#baseurl=http:\/\/mirror/baseurl=http:\/\/vault/g' /etc/yum.repos.d/CentOS-*repo
yum install -y gcc make libcurl-devel jansson-devel bzip2 unzip rpmdevtools epel-release selinux-policy-devel
- name: Build and Install
run: |
make build install
# centos:
# name: Build on ${{matrix.container }}
# runs-on: ubuntu-latest
# container: ${{ matrix.container }}
# strategy:
# matrix:
# container: ['centos:7']
# steps:
# - uses: actions/checkout@v2
# - name: Install packages
# run: |
# grep "8." /etc/centos-release && \
# sed -i -e 's/^mirrorlist/#mirrorlist/g' -e 's/^#baseurl=http:\/\/mirror/baseurl=http:\/\/vault/g' /etc/yum.repos.d/CentOS-*repo
# yum install -y gcc make libcurl-devel jansson-devel bzip2 unzip rpmdevtools epel-release selinux-policy-devel
# - name: Build and Install
# run: |
# make build install

0 comments on commit ae3cccc

Please sign in to comment.