@@ -8,52 +8,9 @@ on: [pull_request, push]
88
99jobs :
1010 test :
11- runs-on : ubuntu-20.04
11+ runs-on : ubuntu-latest
1212 steps :
13- - name : View context attributes
14- uses : actions/github-script@v6
13+ - name : Run Build CI workflow
14+ uses : adafruit/workflows-circuitpython-libs/build@main
1515 with :
16- script : console.log(JSON.stringify(context, null, 2))
17- - name : Translate Repo Name For Build Tools filename_prefix
18- id : repo-name
19- run : |
20- echo ::set-output name=repo-name::$(
21- echo ${{ github.repository }} |
22- awk -F '\/' '{ print tolower($2) }' |
23- tr '_' '-'
24- )
25- - name : Set up Python 3.x
26- uses : actions/setup-python@v1
27- with :
28- python-version : 3.x
29- - name : Versions
30- run : |
31- python3 --version
32- - name : Checkout Current Repo
33- uses : actions/checkout@v1
34- with :
35- submodules : true
36- - name : Checkout tools repo
37- uses : actions/checkout@v2
38- with :
39- repository : adafruit/actions-ci-circuitpython-libs
40- path : actions-ci
41- - name : Install dependencies
42- # (e.g. - apt-get: gettext, etc; pip: circuitpython-build-tools, requirements.txt; etc.)
43- run : |
44- source actions-ci/install.sh
45- - name : Library version
46- run : git describe --dirty --always --tags
47- - name : Perform build & test
48- run : |
49- ./build.sh
50- - name : Archive bundles
51- uses : actions/upload-artifact@v2
52- with :
53- name : bundles
54- path : ${{ github.workspace }}/bundles/
55- - name : Archive docs
56- uses : actions/upload-artifact@v2
57- with :
58- name : docs
59- path : ${{ github.workspace }}/_build/html
16+ package-prefix : jepler_udecimal
0 commit comments