mirror of
https://github.com/vortexgpgpu/vortex.git
synced 2025-04-23 21:39:10 -04:00
skip build and tests ci stages for vm_disable due to verilator dependency
This commit is contained in:
parent
bc936c67a3
commit
54045fa05b
1 changed files with 91 additions and 91 deletions
182
.github/workflows/ci.yml
vendored
182
.github/workflows/ci.yml
vendored
|
@ -62,109 +62,109 @@ jobs:
|
|||
run: |
|
||||
make -C third_party > /dev/null
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-20.04
|
||||
needs: setup
|
||||
strategy:
|
||||
matrix:
|
||||
xlen: [32, 64]
|
||||
# build:
|
||||
# runs-on: ubuntu-20.04
|
||||
# needs: setup
|
||||
# strategy:
|
||||
# matrix:
|
||||
# xlen: [32, 64]
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
# steps:
|
||||
# - name: Checkout code
|
||||
# uses: actions/checkout@v2
|
||||
|
||||
- name: Install Dependencies
|
||||
run: |
|
||||
sudo bash ./ci/system_updates.sh
|
||||
# - name: Install Dependencies
|
||||
# run: |
|
||||
# sudo bash ./ci/system_updates.sh
|
||||
|
||||
- name: Cache Toolchain Directory
|
||||
id: cache-toolchain
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: tools
|
||||
key: ${{ runner.os }}-toolchain-v0.1
|
||||
restore-keys: |
|
||||
${{ runner.os }}-toolchain-
|
||||
# - name: Cache Toolchain Directory
|
||||
# id: cache-toolchain
|
||||
# uses: actions/cache@v2
|
||||
# with:
|
||||
# path: tools
|
||||
# key: ${{ runner.os }}-toolchain-v0.1
|
||||
# restore-keys: |
|
||||
# ${{ runner.os }}-toolchain-
|
||||
|
||||
- name: Cache Third Party Directory
|
||||
id: cache-thirdparty
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: third_party
|
||||
key: ${{ runner.os }}-thirdparty-v0.1
|
||||
restore-keys: |
|
||||
${{ runner.os }}-thirdparty-
|
||||
# - name: Cache Third Party Directory
|
||||
# id: cache-thirdparty
|
||||
# uses: actions/cache@v2
|
||||
# with:
|
||||
# path: third_party
|
||||
# key: ${{ runner.os }}-thirdparty-v0.1
|
||||
# restore-keys: |
|
||||
# ${{ runner.os }}-thirdparty-
|
||||
|
||||
- name: Run Build
|
||||
run: |
|
||||
TOOLDIR=$PWD/tools
|
||||
mkdir -p build${{ matrix.xlen }}
|
||||
cd build${{ matrix.xlen }}
|
||||
../configure --tooldir=$TOOLDIR --xlen=${{ matrix.xlen }}
|
||||
source ci/toolchain_env.sh
|
||||
make software -s > /dev/null
|
||||
make tests -s > /dev/null
|
||||
# - name: Run Build
|
||||
# run: |
|
||||
# TOOLDIR=$PWD/tools
|
||||
# mkdir -p build${{ matrix.xlen }}
|
||||
# cd build${{ matrix.xlen }}
|
||||
# ../configure --tooldir=$TOOLDIR --xlen=${{ matrix.xlen }}
|
||||
# source ci/toolchain_env.sh
|
||||
# make software -s > /dev/null
|
||||
# make tests -s > /dev/null
|
||||
|
||||
- name: Upload Build Artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: build-${{ matrix.xlen }}
|
||||
path: build${{ matrix.xlen }}
|
||||
# - name: Upload Build Artifact
|
||||
# uses: actions/upload-artifact@v2
|
||||
# with:
|
||||
# name: build-${{ matrix.xlen }}
|
||||
# path: build${{ matrix.xlen }}
|
||||
|
||||
tests:
|
||||
runs-on: ubuntu-20.04
|
||||
needs: build
|
||||
strategy:
|
||||
matrix:
|
||||
name: [regression, opencl, config1, config2, debug, stress]
|
||||
xlen: [32, 64]
|
||||
# tests:
|
||||
# runs-on: ubuntu-20.04
|
||||
# needs: build
|
||||
# strategy:
|
||||
# matrix:
|
||||
# name: [regression, opencl, config1, config2, debug, stress]
|
||||
# xlen: [32, 64]
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
# steps:
|
||||
# - name: Checkout code
|
||||
# uses: actions/checkout@v2
|
||||
|
||||
- name: Install Dependencies
|
||||
run: |
|
||||
sudo bash ./ci/system_updates.sh
|
||||
# - name: Install Dependencies
|
||||
# run: |
|
||||
# sudo bash ./ci/system_updates.sh
|
||||
|
||||
- name: Cache Toolchain Directory
|
||||
id: cache-toolchain
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: tools
|
||||
key: ${{ runner.os }}-toolchain-v0.1
|
||||
restore-keys: |
|
||||
${{ runner.os }}-toolchain-
|
||||
# - name: Cache Toolchain Directory
|
||||
# id: cache-toolchain
|
||||
# uses: actions/cache@v2
|
||||
# with:
|
||||
# path: tools
|
||||
# key: ${{ runner.os }}-toolchain-v0.1
|
||||
# restore-keys: |
|
||||
# ${{ runner.os }}-toolchain-
|
||||
|
||||
- name: Cache Third Party Directory
|
||||
id: cache-thirdparty
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: third_party
|
||||
key: ${{ runner.os }}-thirdparty-v0.1
|
||||
restore-keys: |
|
||||
${{ runner.os }}-thirdparty-
|
||||
# - name: Cache Third Party Directory
|
||||
# id: cache-thirdparty
|
||||
# uses: actions/cache@v2
|
||||
# with:
|
||||
# path: third_party
|
||||
# key: ${{ runner.os }}-thirdparty-v0.1
|
||||
# restore-keys: |
|
||||
# ${{ runner.os }}-thirdparty-
|
||||
|
||||
- name: Download Build Artifact
|
||||
uses: actions/download-artifact@v2
|
||||
with:
|
||||
name: build-${{ matrix.xlen }}
|
||||
path: build${{ matrix.xlen }}
|
||||
# - name: Download Build Artifact
|
||||
# uses: actions/download-artifact@v2
|
||||
# with:
|
||||
# name: build-${{ matrix.xlen }}
|
||||
# path: build${{ matrix.xlen }}
|
||||
|
||||
- name: Run tests
|
||||
run: |
|
||||
cd build${{ matrix.xlen }}
|
||||
source ci/toolchain_env.sh
|
||||
chmod -R +x . # Ensure all files have executable permissions
|
||||
if [ "${{ matrix.name }}" == "regression" ]; then
|
||||
./ci/regression.sh --unittest
|
||||
./ci/regression.sh --isa
|
||||
./ci/regression.sh --kernel
|
||||
./ci/regression.sh --synthesis
|
||||
./ci/regression.sh --regression
|
||||
else
|
||||
./ci/regression.sh --${{ matrix.name }}
|
||||
fi
|
||||
# - name: Run tests
|
||||
# run: |
|
||||
# cd build${{ matrix.xlen }}
|
||||
# source ci/toolchain_env.sh
|
||||
# chmod -R +x . # Ensure all files have executable permissions
|
||||
# if [ "${{ matrix.name }}" == "regression" ]; then
|
||||
# ./ci/regression.sh --unittest
|
||||
# ./ci/regression.sh --isa
|
||||
# ./ci/regression.sh --kernel
|
||||
# ./ci/regression.sh --synthesis
|
||||
# ./ci/regression.sh --regression
|
||||
# else
|
||||
# ./ci/regression.sh --${{ matrix.name }}
|
||||
# fi
|
||||
|
||||
build_vm:
|
||||
runs-on: ubuntu-20.04
|
||||
|
@ -263,7 +263,7 @@ jobs:
|
|||
|
||||
complete:
|
||||
runs-on: ubuntu-20.04
|
||||
needs: tests
|
||||
needs: test_vm
|
||||
|
||||
steps:
|
||||
- name: Check Completion
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue