summaryrefslogtreecommitdiff
path: root/.github/workflows/compile-regression-test.yml
diff options
context:
space:
mode:
authorEllie Hermaszewska <ellieh@nvidia.com>2024-10-30 13:45:53 +0800
committerGitHub <noreply@github.com>2024-10-30 13:45:53 +0800
commit22d1e345037eea853e54b84af718340cb9776513 (patch)
treee63754ab1e7c7f6c95d75ff5bc785b9afdbd54b4 /.github/workflows/compile-regression-test.yml
parent44dc5ea202ac43cd4f18c268e95143c2a23f5d26 (diff)
format yaml and json (#5428)
* format yaml and json * format shell scripts
Diffstat (limited to '.github/workflows/compile-regression-test.yml')
-rw-r--r--.github/workflows/compile-regression-test.yml70
1 files changed, 35 insertions, 35 deletions
diff --git a/.github/workflows/compile-regression-test.yml b/.github/workflows/compile-regression-test.yml
index f1809ea71..da5656d7f 100644
--- a/.github/workflows/compile-regression-test.yml
+++ b/.github/workflows/compile-regression-test.yml
@@ -2,19 +2,19 @@ name: Compile Regression-Test
on:
push:
- branches: [ master ]
+ branches: [master]
paths-ignore:
- - 'docs/**'
- - 'LICENCE'
- - 'CONTRIBUTION.md'
- - 'README.md'
+ - "docs/**"
+ - "LICENCE"
+ - "CONTRIBUTION.md"
+ - "README.md"
pull_request:
- branches: [ master ]
+ branches: [master]
paths-ignore:
- - 'docs/**'
- - 'LICENCE'
- - 'CONTRIBUTION.md'
- - 'README.md'
+ - "docs/**"
+ - "LICENCE"
+ - "CONTRIBUTION.md"
+ - "README.md"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
@@ -40,28 +40,28 @@ jobs:
run:
shell: bash
steps:
- - uses: actions/checkout@v3
- with:
- submodules: 'recursive'
- fetch-depth: '0'
- - name: Setup
- uses: ./.github/actions/common-setup
- with:
- os: ${{matrix.os}}
- compiler: ${{matrix.compiler}}
- platform: ${{matrix.platform}}
- config: ${{matrix.config}}
- build-llvm: true
- - name: Build Slang
- run: |
- cmake --preset default --fresh \
- -DSLANG_SLANG_LLVM_FLAVOR=USE_SYSTEM_LLVM \
- -DCMAKE_COMPILE_WARNING_AS_ERROR=${{matrix.warnings-as-errors}} \
- -DSLANG_ENABLE_CUDA=1
- cmake --workflow --preset "${{matrix.config}}"
- - name: Run compile and validation test
- run: |
- cp -r /c/slang_compile_test_suite_a .
- cd slang_compile_test_suite_a
- export SLANGC_PATH="$bin_dir/slangc.exe"
- bash ./compile_all_slang.sh
+ - uses: actions/checkout@v3
+ with:
+ submodules: "recursive"
+ fetch-depth: "0"
+ - name: Setup
+ uses: ./.github/actions/common-setup
+ with:
+ os: ${{matrix.os}}
+ compiler: ${{matrix.compiler}}
+ platform: ${{matrix.platform}}
+ config: ${{matrix.config}}
+ build-llvm: true
+ - name: Build Slang
+ run: |
+ cmake --preset default --fresh \
+ -DSLANG_SLANG_LLVM_FLAVOR=USE_SYSTEM_LLVM \
+ -DCMAKE_COMPILE_WARNING_AS_ERROR=${{matrix.warnings-as-errors}} \
+ -DSLANG_ENABLE_CUDA=1
+ cmake --workflow --preset "${{matrix.config}}"
+ - name: Run compile and validation test
+ run: |
+ cp -r /c/slang_compile_test_suite_a .
+ cd slang_compile_test_suite_a
+ export SLANGC_PATH="$bin_dir/slangc.exe"
+ bash ./compile_all_slang.sh