CI: Sync configuration with master branch

- Factors out common arguments in SCONSFLAGS
- Upload artifacts
- Disable debug symbols for release templates
This commit is contained in:
Rémi Verschelde
2020-10-22 13:27:03 +02:00
parent 438e4f1e1a
commit 3ebd5a2301
7 changed files with 103 additions and 45 deletions

View File

@ -9,9 +9,15 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
# Azure repositories are not reliable, we need to prevent azure giving us packages.
- name: Make apt sources.list use the default Ubuntu repositories
run: |
sudo rm -f /etc/apt/sources.list.d/*
sudo cp -f misc/ci/sources.list /etc/apt/sources.list
sudo apt-get update
- name: Install dependencies
run: |
sudo apt-get update -qq
sudo apt-get install -qq dos2unix recode clang-format
sudo pip3 install black==20.8b1 pygments