Skip to content

Commit 4f43c40

Browse files
authored
change to centos 7 build (#17)
1 parent d3078fc commit 4f43c40

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/build.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,19 @@ on: [pull_request, push]
55
jobs:
66
build:
77
runs-on: ubuntu-20.04
8+
container:
9+
image: centos:7
810
steps:
911
- uses: actions/checkout@v3
1012
- name: install dependencies
1113
run: |
12-
sudo apt update
13-
sudo apt install -y python3
14-
sudo snap install go --classic
15-
pip3 install -r requirements.txt
14+
yum update -y
15+
yum install -y make python3 epel-release
16+
yum install -y golang
17+
python3 -m pip install --upgrade pip
1618
- name: build
1719
run: |
20+
pip3 install -r requirements.txt
1821
make dist
1922
- name: upload artifact
2023
uses: actions/upload-artifact@v3

0 commit comments

Comments
 (0)