Skip to content

Commit

Permalink
Move windows job to run_pr_tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-forbes-cp committed Oct 18, 2024
1 parent ceda4f3 commit b5b875f
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 48 deletions.
48 changes: 0 additions & 48 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,51 +47,3 @@ jobs:
hal_refsi_soc: G1
hal_refsi_thread_mode: WG
debug_support: ON

############### JOB mr-windows-msvc-x86_64-llvm-latest-cl3-0-offline

mr-windows-msvc-x86_64-llvm-latest-cl3-0-offline:
runs-on: windows-2019
steps:

- name: Setup Windows llvm base
uses: llvm/actions/setup-windows@main
with:
arch: amd64

- name: Checkout repo
uses: actions/[email protected]

# installs tools, ninja, installs llvm and sets up sccahe
- name: setup-windows
uses: ./.github/actions/setup_build
with:
llvm_version: 19
llvm_build_type: RelAssert
os: windows

- name: build ock x86_64 relassert
uses: ./.github/actions/do_build_ock
with:
build_targets: check-ock
enable_api: ""
builtin_kernel: ON
shell_to_use: pwsh
gtest_launcher: "python3;-u;${{ github.workspace }}/scripts/gtest-terse-runner.py"
debug_support: ON
c_compiler: 'cl.exe'
cxx_compiler: 'cl.exe'

- name: build ock x86_64 offline
uses: ./.github/actions/do_build_ock
with:
build_targets: check-ock
runtime_compiler_enabled: OFF
external_clc: "${{ github.workspace }}/build/bin/clc.exe"
shell_to_use: pwsh
gtest_launcher: "python3;-u;${{ github.workspace }}/scripts/gtest-terse-runner.py"
debug_support: ON
install_dir: ${{ github.workspace }}/install_offline
build_dir: ${{ github.workspace }}/build_offline
c_compiler: 'cl.exe'
cxx_compiler: 'cl.exe'
47 changes: 47 additions & 0 deletions .github/workflows/run_pr_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,50 @@ jobs:
git diff --no-color origin/${{ github.base_ref }} | \
clang-format-diff.py -p1 -regex \
"^(?!(.+\\/)*(external|cookie)\\/).*\\.(c|cc|cxx|cpp|h|hh|hxx|hpp)$" -b clang-format
run_windows_msvc_x86_64_llvm_latest_cl3_0_offline:

runs-on: windows-2019

steps:
- name: Setup Windows llvm base
uses: llvm/actions/setup-windows@main
with:
arch: amd64

- name: Checkout repo
uses: actions/[email protected]

# installs tools, ninja, installs llvm and sets up sccache
- name: setup-windows
uses: ./.github/actions/setup_build
with:
llvm_version: 19
llvm_build_type: RelAssert
os: windows

- name: build ock x86_64 relassert
uses: ./.github/actions/do_build_ock
with:
build_targets: check-ock
enable_api: ""
builtin_kernel: ON
shell_to_use: pwsh
gtest_launcher: "python3;-u;${{ github.workspace }}/scripts/gtest-terse-runner.py"
debug_support: ON
c_compiler: 'cl.exe'
cxx_compiler: 'cl.exe'

- name: build ock x86_64 offline
uses: ./.github/actions/do_build_ock
with:
build_targets: check-ock
runtime_compiler_enabled: OFF
external_clc: "${{ github.workspace }}/build/bin/clc.exe"
shell_to_use: pwsh
gtest_launcher: "python3;-u;${{ github.workspace }}/scripts/gtest-terse-runner.py"
debug_support: ON
install_dir: ${{ github.workspace }}/install_offline
build_dir: ${{ github.workspace }}/build_offline
c_compiler: 'cl.exe'
cxx_compiler: 'cl.exe'

0 comments on commit b5b875f

Please sign in to comment.