summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2021-03-22 16:15:55 -0700
committerScott Shawcroft <scott@tannewt.org>2021-03-22 16:15:55 -0700
commit67c039db432394ce89c9b9b1fa1f87372d48230f (patch)
tree72ed883608af7af373083a714487e92b8a4a57e3 /.github
parent7867632a814493e5866bcf9ec1299acfcfd27613 (diff)
Checkout before installing deps
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml38
1 files changed, 19 insertions, 19 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index fb2075472..e8859ec33 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -132,15 +132,6 @@ jobs:
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- - name: Install dependencies
- run: |
- brew install gettext
- echo >>$GITHUB_PATH /usr/local/opt/gettext/bin
- - name: Versions
- run: |
- gcc --version
- python3 --version
- msgfmt --version
- uses: actions/checkout@v2.2.0
with:
submodules: true
@@ -150,6 +141,15 @@ jobs:
run: |
git describe --dirty --tags
echo >>$GITHUB_ENV CP_VERSION=$(git describe --dirty --tags)
+ - name: Install dependencies
+ run: |
+ brew install gettext
+ echo >>$GITHUB_PATH /usr/local/opt/gettext/bin
+ - name: Versions
+ run: |
+ gcc --version
+ python3 --version
+ msgfmt --version
- name: Build mpy-cross
run: make -C mpy-cross -j2
- uses: actions/upload-artifact@v2
@@ -355,6 +355,11 @@ jobs:
uses: actions/setup-python@v1
with:
python-version: 3.8
+ - uses: actions/checkout@v2.2.0
+ with:
+ submodules: true
+ fetch-depth: 0
+ - run: git fetch --recurse-submodules=no https://github.com/adafruit/circuitpython refs/tags/*:refs/tags/*
- name: Install deps
run: |
sudo apt-get install -y gettext
@@ -366,11 +371,6 @@ jobs:
gcc --version
arm-none-eabi-gcc --version
python3 --version
- - uses: actions/checkout@v2.2.0
- with:
- submodules: true
- fetch-depth: 0
- - run: git fetch --recurse-submodules=no https://github.com/adafruit/circuitpython refs/tags/*:refs/tags/*
- name: mpy-cross
run: make -C mpy-cross -j2
- name: build
@@ -404,6 +404,11 @@ jobs:
uses: actions/setup-python@v1
with:
python-version: 3.8
+ - uses: actions/checkout@v2.2.0
+ with:
+ submodules: true
+ fetch-depth: 0
+ - run: git fetch --recurse-submodules=no https://github.com/adafruit/circuitpython refs/tags/*:refs/tags/*
- name: Install deps
run: |
sudo apt-get install -y gettext
@@ -415,11 +420,6 @@ jobs:
gcc --version
riscv64-unknown-elf-gcc --version
python3 --version
- - uses: actions/checkout@v2.2.0
- with:
- submodules: true
- fetch-depth: 0
- - run: git fetch --recurse-submodules=no https://github.com/adafruit/circuitpython refs/tags/*:refs/tags/*
- name: mpy-cross
run: make -C mpy-cross -j2
- name: build