Skip to content

Commit

Permalink
use a sparse checkout of the main repo to get the script
Browse files Browse the repository at this point in the history
It's not in the tarball

Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
  • Loading branch information
bgoglin committed Nov 28, 2023
1 parent 3600693 commit 000213d
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/buildcheck.yaml
Expand Up @@ -44,12 +44,18 @@ jobs:
run: |
sudo apt update
sudo apt install -y --no-install-recommends pkg-config libcairo2-dev libxml2-dev
- uses: actions/checkout@v4
with:
sparse-checkout: '.github/workflows'
sparse-checkout-cone-mode: false
- name: Download tarball
uses: actions/download-artifact@v3
with:
name: Tarball
- name: Extract, build and check
run: $GITHUB_WORKSPACE/.github/workflows/job-1-check.sh hwloc-*.tar.gz
run: |
ls -la
$GITHUB_WORKSPACE/.github/workflows/job-1-check.sh hwloc-*.tar.gz
check-tarball-gh-macos-latest:
name: Check tarball on GH macos-latest
needs: build-tarball
Expand All @@ -59,12 +65,18 @@ jobs:
run: |
brew install pkg-config
brew install cairo
- uses: actions/checkout@v4
with:
sparse-checkout: '.github/workflows'
sparse-checkout-cone-mode: false
- name: Download tarball
uses: actions/download-artifact@v3
with:
name: Tarball
- name: Extract, build and check
run: $GITHUB_WORKSPACE/.github/workflows/job-1-check.sh hwloc-*.tar.gz
run: |
ls -la
$GITHUB_WORKSPACE/.github/workflows/job-1-check.sh hwloc-*.tar.gz
# check-tarball:
# name: Check tarball on GH runners
# needs: build-tarball
Expand Down

0 comments on commit 000213d

Please sign in to comment.