Skip to content

Commit 5269e58

Browse files
authored
add PLATFORM env var (#8)
1 parent 20e7120 commit 5269e58

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/common.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,14 +147,21 @@ jobs:
147147
148148
149149
- name: Build Nim and Nimble
150+
env:
151+
MAKE: make -j4
152+
ARCH_OVERRIDE: ${{ matrix.target.platform }}
153+
NIM_COMMIT: ${{ matrix.branch }}
154+
QUICK_AND_DIRTY_COMPILER: 1
155+
QUICK_AND_DIRTY_NIMBLE: 1
156+
CC: gcc
150157
run: |
151158
curl -O -L -s -S https://raw.githubusercontent.com/status-im/nimbus-build-system/master/scripts/build_nim.sh
152-
env MAKE="make -j4" ARCH_OVERRIDE=${{ matrix.target.platform }} NIM_COMMIT=${{ matrix.branch }} \
153-
QUICK_AND_DIRTY_COMPILER=1 QUICK_AND_DIRTY_NIMBLE=1 CC=gcc \
154-
bash build_nim.sh nim csources dist/nimble NimBinaries
159+
bash build_nim.sh nim csources dist/nimble NimBinaries
155160
echo '${{ github.workspace }}/nim/bin' >> $GITHUB_PATH
156161
157162
- name: Run tests
163+
env:
164+
PLATFORM: ${{ matrix.target.platform }}
158165
run: |
159166
nim --version
160167
nimble --version

0 commit comments

Comments
 (0)