-
Notifications
You must be signed in to change notification settings - Fork 2
47 lines (41 loc) · 1.1 KB
/
ubuntu.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
---
name: Ubuntu latest
on:
push:
branches: [ master ]
paths-ignores:
- '*.md'
- 'docker/**'
- '.github/workflows/docker.yml'
- '.github/workflows/ubuntu.yml'
- '.github/workflows/rocky8.yml'
- '.github/workflows/linter.yml'
pull_request:
branches: [ master ]
jobs:
Ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install required packages
run: |
sudo apt update -y
sudo apt install -y git make tree
sudo apt install -y python3-twisted python3-requests python3-simplejson python3-urllib3
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 1
sudo update-alternatives --install /usr/bin/twistd twistd /usr/bin/twistd3 1
- name: Check PYTHON environment
run: |
which python
python --version
which twistd
twistd --version
- name: Configuration
run: |
make init
make vars
- name: Build
run: |
sudo make install
- name: Environment Check
run: make exist