-
Notifications
You must be signed in to change notification settings - Fork 1.2k
35 lines (28 loc) · 991 Bytes
/
Copy pathutf8-inverted-text.yml
File metadata and controls
35 lines (28 loc) · 991 Bytes
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
name: Test `utf8-inverted-text`
on:
push:
paths:
- "sys/utf8/inverted_text_picture_loop/**"
- ".github/workflows/**"
pull_request:
paths:
- "sys/utf8/inverted_text_picture_loop/**"
- ".github/workflows/**"
workflow_dispatch: # Enables manual workflow triggering
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Install Build Essentials
run: sudo apt-get update && sudo apt-get install -y build-essential
- name: Compile Makefile
working-directory: sys/utf8/inverted_text_picture_loop
run: make
- name: Run Executable and Capture Output
working-directory: sys/utf8/inverted_text_picture_loop
run: ./u8g2_utf8 > actual_output.txt
- name: Compare Output with Expected Result
working-directory: sys/utf8/inverted_text_picture_loop
run: diff -q actual_output.txt expected_result.txt