diff --git a/.github/get_tests.sh b/.github/get_tests.sh new file mode 100755 index 0000000..6c0fabb --- /dev/null +++ b/.github/get_tests.sh @@ -0,0 +1,20 @@ +#!/usr/bin/env bash + +# Copyright 2021 Unai Martinez-Corral +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +for item in aarch64 riscv64; do + wget https://github.com/dbhi/qus/releases/download/v0.0.6-v5.2%2Bdfsg-3/test-"$item" + chmod +x test-"$item" +done diff --git a/.github/workflows/Test.yml b/.github/workflows/Test.yml old mode 100644 new mode 100755 index 2643e37..2cc8bea --- a/.github/workflows/Test.yml +++ b/.github/workflows/Test.yml @@ -187,8 +187,13 @@ jobs: - uses: ./action + - run: | + ./.github/get_tests.sh + ./test-aarch64 + ./test-riscv64 + - Action-ARM: + Action: needs: Manifests runs-on: ubuntu-latest steps: @@ -197,7 +202,50 @@ jobs: - uses: ./action with: - targets: arm aarch64 + targets: riscv64 aarch64 + + - run: | + ./.github/get_tests.sh + ./test-aarch64 + ./test-riscv64 + + + Action-literal: + needs: Manifests + runs-on: ubuntu-latest + steps: + + - uses: actions/checkout@v2 + + - uses: dbhi/qus/action@main + with: + targets: | + riscv64 + aarch64 + + - run: | + ./.github/get_tests.sh + ./test-aarch64 + ./test-riscv64 + + + Action-folded: + needs: Manifests + runs-on: ubuntu-latest + steps: + + - uses: actions/checkout@v2 + + - uses: dbhi/qus/action@main + with: + targets: > + riscv64 + aarch64 + + - run: | + ./.github/get_tests.sh + ./test-aarch64 + ./test-riscv64 Test: