Skip to content

Commit adae35d

Browse files
committed
依存パッケージの追加方法を修正
1 parent 9f9386f commit adae35d

File tree

2 files changed

+22
-4
lines changed

2 files changed

+22
-4
lines changed

.clang-format

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
Language: Cpp
2+
BasedOnStyle: Google
3+
4+
AccessModifierOffset: -2
5+
AlignAfterOpenBracket: AlwaysBreak
6+
BraceWrapping:
7+
AfterClass: true
8+
AfterFunction: true
9+
AfterNamespace: true
10+
AfterStruct: true
11+
BreakBeforeBraces: Custom
12+
ColumnLimit: 100
13+
ConstructorInitializerIndentWidth: 0
14+
ContinuationIndentWidth: 2
15+
DerivePointerAlignment: false
16+
PointerAlignment: Middle
17+
ReflowComments: false

.github/workflows/compile-sketches.yaml

+5-4
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- uses: actions/checkout@v4
22-
- uses: arduino/setup-arduino-cli@v2
23-
- run: |
24-
arduino-cli lib install --git-url https://github.com/ESP32Async/AsyncTCP.git
25-
arduino-cli lib install --git-url https://github.com/ESP32Async/ESPAsyncWebServer.git
2622
- uses: arduino/compile-sketches@v1
2723
with:
2824
enable-deltas-report: true
@@ -33,6 +29,11 @@ jobs:
3329
- name: esp32:esp32
3430
source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
3531
version: 3.1.3
32+
libraries: | # 依存パッケージを指定
33+
- name: AsyncTCP
34+
source-url: https://github.com/ESP32Async/AsyncTCP.git
35+
- name: ESPAsyncWebServer
36+
source-url: https://github.com/ESP32Async/ESPAsyncWebServer.git
3637
sketch-paths: |
3738
- pico_classic_v4_STEP1_LED
3839
- pico_classic_v4_STEP2_SWITCH

0 commit comments

Comments
 (0)