Second fix for spurious alire.toml detection (#203)
This commit is contained in:
committed by
GitHub
parent
59ba4b0335
commit
e7719b1b9c
@@ -19,6 +19,7 @@ jobs:
|
||||
- ubuntu-latest
|
||||
- windows-latest
|
||||
tag:
|
||||
- arch-rolling
|
||||
- centos-latest-community-latest
|
||||
- community-current
|
||||
- debian-stable
|
||||
@@ -27,6 +28,8 @@ jobs:
|
||||
exclude: # inclusions don't allow to add arrays of values to a scenario
|
||||
- os: ubuntu-latest
|
||||
tag: ""
|
||||
- os: macos-latest
|
||||
tag: arch-rolling
|
||||
- os: macos-latest
|
||||
tag: centos-latest-community-latest
|
||||
- os: macos-latest
|
||||
@@ -35,6 +38,8 @@ jobs:
|
||||
tag: debian-stable
|
||||
- os: macos-latest
|
||||
tag: ubuntu-lts
|
||||
- os: windows-latest
|
||||
tag: arch-rolling
|
||||
- os: windows-latest
|
||||
tag: centos-latest-community-latest
|
||||
- os: windows-latest
|
||||
@@ -67,7 +72,7 @@ jobs:
|
||||
distrib: community
|
||||
|
||||
- name: Set up `alr`
|
||||
uses: mosteo/setup-alire@exp
|
||||
uses: alire-project/setup-alire@latest-stable
|
||||
|
||||
- name: Test crate (Linux)
|
||||
if: matrix.os == 'ubuntu-latest' # docker testing only for linuxes
|
||||
@@ -75,10 +80,11 @@ jobs:
|
||||
with:
|
||||
image: alire/gnat:${{matrix.tag}}
|
||||
command: scripts/gh-build-crate.sh
|
||||
params: -v ${{ github.workspace }}/alire_install/bin/alr:/usr/bin/alr
|
||||
|
||||
- name: Set up msys2 (Windows)
|
||||
if: matrix.os == 'windows-latest'
|
||||
run: ./alire/bin/alr --non-interactive version
|
||||
run: ./alire_install/bin/alr --non-interactive version
|
||||
|
||||
- name: Install tar from msys2 (Windows) # Git tar in Actions VM does not seem to work)
|
||||
if: matrix.os == 'windows-latest'
|
||||
|
||||
@@ -15,13 +15,6 @@ CHANGES=$(git diff --name-only HEAD~1)
|
||||
# Bulk changes for the record
|
||||
echo Changed files: $CHANGES
|
||||
|
||||
# Import the out-of-docker built alr
|
||||
export PATH+=:${PWD}/alire/bin
|
||||
|
||||
# Change to a new testing folder to avoid spurious detection of ./alire/alire.toml
|
||||
mkdir testdir
|
||||
cd testdir
|
||||
|
||||
# Show alr metadata
|
||||
alr version
|
||||
|
||||
|
||||
Reference in New Issue
Block a user