Skip to content

Commit

Permalink
ci: Add GitHub CI job for ClangCL/MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabrielcarvfer committed Jan 24, 2025
1 parent 04e6055 commit 2cae0c4
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/per_commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,3 +196,26 @@ jobs:
- name: Run tests and examples
if: env.cache_misses != '0'
run: ./test.py --no-build
Windows_Visual_Studio: # disable until remaining issues are not fixed and find a way to cache compilation artifacts
runs-on: windows-latest
defaults:
run:
shell: cmd
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- name: Configure CMake
run: |
%comspec% /k ""C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsDevCmd.bat""
python ns3 configure --enable-tests --enable-examples --enable-asserts -d release -- -G"Visual Studio 17 2022" -A x64 -T ClangCL
- name: Build ns-3
continue-on-error: true
run: |
%comspec% /k ""C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsDevCmd.bat""
python ns3 build
- name: Run tests and examples
continue-on-error: true
timeout-minutes: 60
run: |
set PATH=%CD%\build;%PATH%
python .\test.py --no-build

0 comments on commit 2cae0c4

Please sign in to comment.