-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
37 lines (29 loc) · 1.17 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# AppVeyor configuration file
version: 1.0.{build}
# This section specifies the image to use for the build (Ubuntu)
image: Ubuntu
# This section defines the steps to run in the CI pipeline
install:
# Step 1: Checkout the code
- git clone https://github.com/elara-aerospace/elara-igniter_test_stand
- cd elara-igniter_test_stand
# Step 2: Install Arduino CLI (ensure it's installed using snap)
- echo "Installing Arduino CLI..."
- sudo apt-get update
- sudo apt-get install -y snapd # Install snapd if it's not already installed
- sudo snap install arduino-cli # Install arduino-cli via snap
# Step 3: Verify Arduino CLI version
- echo "Verifying Arduino CLI version..."
- ./bin/arduino-cli version
# Step 4: Install Arduino Core
- echo "Installing Arduino Core (arduino:avr)..."
- ./bin/arduino-cli core update-index
- ./bin/arduino-cli core install arduino:avr
# This section defines the build steps for the project
build_script:
# Step 5: Compile the Arduino Sketch
- echo "Compiling Arduino sketch..."
- make compile
# This section runs after the build is completed successfully (optional)
after_build:
- echo "Build completed successfully!"