forked from adafruit/CircuitPython_Community_Bundle
-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (26 loc) · 714 Bytes
/
Copy pathbuild.yml
File metadata and controls
28 lines (26 loc) · 714 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
name: Build CI
on: [pull_request, push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Set up Python 3
uses: actions/setup-python@v6
with:
python-version: 3.x
- name: Versions
run: |
python3 --version
- uses: actions/checkout@v6
with:
submodules: true
- name: Fetch correct submodule shas
run: git submodule foreach 'git fetch --tags --depth 1 origin $sha1 && git checkout -q $sha1'
- name: Install deps
run: |
sudo apt-get install -y gettext gawk
pip install -r requirements.txt
- name: Library version
run: git describe --dirty --always --tags
- name: Build assets
run: ./build.sh