Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C# --> C++ #16

Merged
merged 10 commits into from
Jun 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 2 additions & 9 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
[*.{sln,resx}]
indent_style = tab

[*.{cs,sh,py,json}]
[*.{h,cpp,py,json,page,txt}]
indent_style = space
indent_size = 4

[*.{csproj,xml,css,md,blp}]
[*.{xml,css,md,blp,yml}]
indent_style = space
indent_size = 2

[justfile]
indent_style = space
indent_size = 4
7 changes: 6 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
# Auto detect text files and perform LF normalization
* text=auto
* text eol=lf
*.png binary
*.jpg binary
*.ico binary
*.pdf binary
*.exe binary
64 changes: 0 additions & 64 deletions .github/workflows/build.yml

This file was deleted.

56 changes: 0 additions & 56 deletions .github/workflows/security.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/spelling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ jobs:
codespell:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: codespell-project/actions-codespell@master
with:
check_filenames: true
skip: cargo-sources.json,.git,Strings.*.resx,*.svg
ignore_words_list: gir
skip: cargo-sources.json,.git,*.svg,*.html,*.js,*.po,*.pot,*.page,*.map,sqlite3.h,sqlite3.c,pch.h,CONTRIBUTING.md
ignore_words_list: gir
44 changes: 44 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
types: [ "review_requested", "ready_for_review" ]
workflow_dispatch:
name: Windows
permissions:
id-token: write
contents: read
env:
BUILD_TYPE: Release
GITHUB_ACTIONS: true
VCPKG_ROOT: ${{github.workspace}}/vcpkg
jobs:
build:
name: "Build on x64"
runs-on: windows-latest
if: ${{ github.event.pull_request.user.login != 'weblate' }}
steps:
- name: "Checkout"
uses: actions/checkout@v4
- name: "Setup Environment"
run: mkdir build
- name: "Vcpkg"
uses: johnwason/vcpkg-action@v5
id: vcpkg
with:
pkgs: libnick libjpeg-turbo boost-gil
triplet: x64-windows
cache-key: windows-latest
revision: 9760ce6194ef51aa4faf77b6321e1280daa4545c
token: ${{ secrets.GITHUB_TOKEN }}
- name: "Build"
working-directory: ${{github.workspace}}/build
run: |
cmake -G "Visual Studio 17 2022" ..
cmake --build . --config ${{env.BUILD_TYPE}}
- name: Upload
uses: actions/upload-artifact@v4
with:
path: ${{github.workspace}}/build/org.nickvision.spotlight.winui/Release
name: Windows-x64-${{env.BUILD_TYPE}}
Loading
Loading