Skip to content

Commit 95c6488

Browse files
committed
fix conflicts
2 parents 76d516b + ef3333d commit 95c6488

54 files changed

Lines changed: 3371 additions & 1338 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.editorconfig

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
root = true
2+
3+
[*]
4+
insert_final_newline = true
5+
indent_style = space
6+
7+
[*.rs]
8+
indent_size = 4
9+
max_line_length = 100
10+
11+
[*.lua]
12+
indent_size = 4
13+
max_line_length = 120
14+
15+
[*.md]
16+
indent_size = 2
17+
max_line_length = 100

.github/workflows/build.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ jobs:
7575
run: cargo binstall -y cargo-nextest
7676

7777
- uses: Swatinem/rust-cache@v2
78+
with:
79+
shared-key: test-and-clippy
80+
save-if: ${{ github.ref == 'refs/heads/main' }}
7881

7982
- name: Test
8083
env:
@@ -112,6 +115,9 @@ jobs:
112115
components: clippy
113116

114117
- uses: Swatinem/rust-cache@v2
118+
with:
119+
save-if: false
120+
shared-key: test-and-clippy
115121

116122
- name: Show toolchain info
117123
run: cargo --version --verbose
@@ -149,6 +155,12 @@ jobs:
149155
- name: Install Cargo Binstall
150156
uses: cargo-bins/cargo-binstall@main
151157

158+
# This is needed for building skia from source
159+
- name: Setup github long path support (Windows)
160+
if: matrix.os == 'windows-latest'
161+
run: |
162+
git config --system core.longpaths true
163+
152164
- name: Install dependencies (Windows)
153165
if: matrix.os == 'windows-latest'
154166
run: |
@@ -185,15 +197,14 @@ jobs:
185197
neovim: true
186198

187199
- uses: Swatinem/rust-cache@v2
200+
with:
201+
save-if: ${{ github.ref == 'refs/heads/main' }}
188202

189203
- name: Build (Windows)
190204
if: matrix.os == 'windows-latest'
191205
env:
192206
RUSTFLAGS: "-Ctarget-feature=+crt-static"
193-
# The file paths are to long, so we need to vendor the dependencies
194207
run: |
195-
mkdir .cargo
196-
cargo vendor ../c > .cargo/config.toml
197208
cargo wix --nocapture --output target/release/neovide.msi --package neovide
198209
199210
- name: Build (macOS)

0 commit comments

Comments
 (0)