Skip to content

Commit

Permalink
chore: action
Browse files Browse the repository at this point in the history
  • Loading branch information
sssooonnnggg committed Nov 21, 2024
1 parent d14d77d commit 3bd9da5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ jobs:
with:
repository: luau-lang/luau
path: luau
- name: install compiler
run: |
choco install ninja
choco install llvm
- name: configure
run: cmake -DCPP_DAP_ROOT=${{ github.workspace }}/cppdap -DLUAU_ROOT=${{ github.workspace }}/luau -S . -B build --preset publish-configure
- name: build
Expand Down
7 changes: 5 additions & 2 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,14 @@
{
"name": "publish-configure",
"displayName": "publish-configure",
"generator": "Visual Studio 17 2022",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CPPDAP_BUILD_EXAMPLES": "ON",
"LUAU_BUILD_TESTS": "OFF"
"LUAU_BUILD_TESTS": "OFF",
"CMAKE_CXX_COMPILER": "clang++.exe",
"CMAKE_C_COMPILER": "clang.exe",
"CMAKE_RC_COMPILER": "llvm-rc.exe"
}
}
],
Expand Down

0 comments on commit 3bd9da5

Please sign in to comment.