Work with the latest CF / RecSync #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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 | |