-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
230 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: cmake --workflow --preset test | ||
on: | ||
push: | ||
branches: ["main"] | ||
paths-ignore: | ||
- .gitignore | ||
- LICENSE | ||
- README.md | ||
- .github/** | ||
- "!.github/workflows/cmake-workflow-preset-test.yml" | ||
pull_request: | ||
paths-ignore: | ||
- .gitignore | ||
- LICENSE | ||
- README.md | ||
- .github/** | ||
- "!.github/workflows/cmake-workflow-preset-test.yml" | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
jobs: | ||
cmake-workflow-preset-test: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, macos-13, macos-latest, windows-latest] | ||
defaults: | ||
run: | ||
shell: bash | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: jwlawson/actions-setup-cmake@v2 | ||
- uses: goto-bus-stop/setup-zig@v2 | ||
- run: cmake --workflow --preset package | ||
- if: runner.os == 'Windows' | ||
run: unzip build/platformdirs-*.zip -d stage | ||
- if: runner.os != 'Windows' | ||
run: tar -xzvf build/platformdirs-*.tar.gz -C stage | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: platformdirs-${{ matrix.target }} | ||
path: stage | ||
- run: cmake --workflow --preset test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
set(CMAKE_ASM_COMPILER clang-19) | ||
set(CMAKE_C_COMPILER clang-19) | ||
set(CMAKE_CXX_COMPILER clang++-19) | ||
find_program(CMAKE_AR llvm-ar-19 REQUIRED) | ||
find_program(CMAKE_RANLIB llvm-ranlib-19 REQUIRED) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.