mirror of
https://github.com/turbot/steampipe.git
synced 2026-05-07 15:01:56 -04:00
14.17.0-dev.7 and also test on linux arm
This commit is contained in:
24
.github/workflows/test.yml
vendored
24
.github/workflows/test.yml
vendored
@@ -77,6 +77,7 @@ jobs:
|
||||
run: |
|
||||
mkdir ~/artifacts
|
||||
mv $GITHUB_WORKSPACE/steampipe/dist/steampipe_linux_amd64.tar.gz ~/artifacts/linux.tar.gz
|
||||
mv $GITHUB_WORKSPACE/steampipe/dist/steampipe_linux_arm64.tar.gz ~/artifacts/linux-arm.tar.gz
|
||||
mv $GITHUB_WORKSPACE/steampipe/dist/steampipe_darwin_arm64.zip ~/artifacts/darwin.zip
|
||||
|
||||
- name: List Build Artifacts
|
||||
@@ -90,6 +91,14 @@ jobs:
|
||||
if-no-files-found: error
|
||||
overwrite: true
|
||||
|
||||
- name: Save Linux ARM Build Artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: build-artifact-linux-arm
|
||||
path: ~/artifacts/linux-arm.tar.gz
|
||||
if-no-files-found: error
|
||||
overwrite: true
|
||||
|
||||
- name: Save MacOS Build Artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
@@ -104,7 +113,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
platform: [ubuntu-latest, macos-14]
|
||||
platform: [ubuntu-latest, macos-14, ubuntu-24.04-arm]
|
||||
test_block:
|
||||
- "migration"
|
||||
- "brew"
|
||||
@@ -156,6 +165,13 @@ jobs:
|
||||
name: build-artifact-linux
|
||||
path: ~/artifacts
|
||||
|
||||
- name: Download Linux ARM Build Artifacts
|
||||
uses: actions/download-artifact@v4
|
||||
if: ${{ matrix.platform == 'ubuntu-24.04-arm' }}
|
||||
with:
|
||||
name: build-artifact-linux-arm
|
||||
path: ~/artifacts
|
||||
|
||||
- name: Download Darwin Build Artifacts
|
||||
uses: actions/download-artifact@v4
|
||||
if: ${{ matrix.platform == 'macos-14' }}
|
||||
@@ -175,6 +191,12 @@ jobs:
|
||||
mkdir ~/build
|
||||
tar -xf ~/artifacts/linux.tar.gz -C ~/build
|
||||
|
||||
- name: Extract Ubuntu ARM Artifacts and Install Binary
|
||||
if: ${{ matrix.platform == 'ubuntu-24.04-arm' }}
|
||||
run: |
|
||||
mkdir ~/build
|
||||
tar -xf ~/artifacts/linux-arm.tar.gz -C ~/build
|
||||
|
||||
- name: Set PATH
|
||||
run: |
|
||||
echo "PATH=$PATH:$HOME/build:$GTIHUB_WORKSPACE/tests/acceptance/lib/bats-core/libexec" >> $GITHUB_ENV
|
||||
|
||||
Reference in New Issue
Block a user