Skip to content

Commit

Permalink
change to centos 7 build (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
hilldani authored Mar 15, 2023
1 parent d3078fc commit 4f43c40
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,19 @@ on: [pull_request, push]
jobs:
build:
runs-on: ubuntu-20.04
container:
image: centos:7
steps:
- uses: actions/checkout@v3
- name: install dependencies
run: |
sudo apt update
sudo apt install -y python3
sudo snap install go --classic
pip3 install -r requirements.txt
yum update -y
yum install -y make python3 epel-release
yum install -y golang
python3 -m pip install --upgrade pip
- name: build
run: |
pip3 install -r requirements.txt
make dist
- name: upload artifact
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 4f43c40

Please sign in to comment.