[CI] fixing ci, removing soft cts ci
This commit is contained in:
@@ -22,8 +22,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
set -euxo pipefail
|
set -euxo pipefail
|
||||||
|
|
||||||
apt-get update
|
apt update
|
||||||
apt-get install -y unzip curl
|
apt install -y unzip curl
|
||||||
|
|
||||||
MPSS_URL="https://drive.kbz8.me/dav/public-files/KSKeiOKxnFPyfws/mpss.zip"
|
MPSS_URL="https://drive.kbz8.me/dav/public-files/KSKeiOKxnFPyfws/mpss.zip"
|
||||||
MPSS_ZIP="/tmp/mpss.zip"
|
MPSS_ZIP="/tmp/mpss.zip"
|
||||||
|
|||||||
@@ -1,64 +0,0 @@
|
|||||||
name: CTS Soft
|
|
||||||
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build_and_test:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
|
|
||||||
- uses: https://codeberg.org/mlugg/setup-zig@v2
|
|
||||||
- name: Install system dependencies
|
|
||||||
run: |
|
|
||||||
apt update
|
|
||||||
apt install -y libgl1 libwayland-egl1 libwayland-cursor0 clang libwayland-server0
|
|
||||||
|
|
||||||
- name: Install Rust
|
|
||||||
uses: dtolnay/rust-toolchain@stable
|
|
||||||
with:
|
|
||||||
toolchain: stable
|
|
||||||
targets: x86_64-unknown-linux-gnu
|
|
||||||
|
|
||||||
- uses: Swatinem/rust-cache@v2
|
|
||||||
with:
|
|
||||||
cache-all-crates: "true"
|
|
||||||
cache-on-failure: "false"
|
|
||||||
|
|
||||||
- name: Install deqp-runner
|
|
||||||
run: cargo install deqp-runner
|
|
||||||
|
|
||||||
- name: Verify installations
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
source $HOME/.cargo/env
|
|
||||||
echo "Verifying tool installations..."
|
|
||||||
which deqp-runner && deqp-runner --version || echo "deqp-runner not found"
|
|
||||||
|
|
||||||
- name: Run Vulkan CTS
|
|
||||||
run: zig build cts-soft --release=fast -- -j4
|
|
||||||
continue-on-error: true
|
|
||||||
|
|
||||||
- name: Verify tests
|
|
||||||
run: ls cts | grep "results.csv";
|
|
||||||
|
|
||||||
- name: Archiving results
|
|
||||||
run: |
|
|
||||||
mkdir -p assets/
|
|
||||||
zip ./assets/results.zip ./cts/results.csv
|
|
||||||
|
|
||||||
- name: Deploying CTS results
|
|
||||||
uses: milanmk/actions-file-deployer@master
|
|
||||||
with:
|
|
||||||
remote-protocol: sftp
|
|
||||||
remote-host: ${{ secrets.SFTP_HOST_CTS_SOFT }}
|
|
||||||
remote-user: ${{ secrets.SFTP_USER_CTS_SOFT }}
|
|
||||||
remote-password: ${{ secrets.SFTP_PASSWORD_CTS_SOFT }}
|
|
||||||
remote-port: 6969
|
|
||||||
local-path: "./assets"
|
|
||||||
remote-path: "/www/assets"
|
|
||||||
sync: full
|
|
||||||
@@ -19,8 +19,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
set -euxo pipefail
|
set -euxo pipefail
|
||||||
|
|
||||||
apt-get update
|
apt update
|
||||||
apt-get install -y unzip curl
|
apt install -y unzip curl
|
||||||
|
|
||||||
MPSS_URL="https://drive.kbz8.me/dav/public-files/KSKeiOKxnFPyfws/mpss.zip"
|
MPSS_URL="https://drive.kbz8.me/dav/public-files/KSKeiOKxnFPyfws/mpss.zip"
|
||||||
MPSS_ZIP="/tmp/mpss.zip"
|
MPSS_ZIP="/tmp/mpss.zip"
|
||||||
|
|||||||
Reference in New Issue
Block a user