Offer uninstalled compiler as fallback with warning #1158
Workflow file for this run
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
# The purpose of this CI is to run tests in a platform where there is no | |
# detected native package manager | |
name: CI unsupported | |
on: | |
pull_request: | |
paths-ignore: | |
- 'doc/**' | |
- '**.md' | |
- '**.rst' | |
- '**.txt' | |
jobs: | |
build: | |
name: CI on unsupported Linux | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: Install FSF toolchain | |
uses: alire-project/alr-install@v1 | |
with: | |
crates: gnat_native gprbuild | |
- name: Install Python 3.x (required for the testsuite) | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.x' | |
- name: Run test script | |
run: scripts/ci-github.sh | |
shell: bash | |
env: | |
BRANCH: ${{ github.base_ref }} | |
ALIRE_DISABLE_DISTRO: true | |
- name: Upload logs (if failed) | |
if: failure() | |
uses: actions/upload-artifact@master | |
with: | |
name: e3-log-unsupported.zip | |
path: testsuite/out |